ax-check.com
by Gauge
B
BigPanda
bigpanda.io
ax-check.com
Checked 18 November 2026
C
57/100
Agents need your login
Docs and API work well; pricing is hidden behind a sales form.
The homepage lacks a Markdown view and llms.txt links to a staging host, but the API guide and MCP docs are clear and actionable. No prices are published anywhere.
5 fixes to start with
Concrete changes, backed by what we found.
Tell agents where to start and organize the links in /llms.txt.
llms.txt is an auto-generated page dump with no navigation guidance or starting points.
List every offered API, MCP, and skills surface in /llms.txt.
llms.txt never mentions the offered API, MCP, or skills surfaces.
Recorded coding sessions
Same task, 3 models, no bigpanda.io account. Recorded 18 November 2026 on Pi.
3 recorded · 4m 53s
4m 53s · recorded
Session findings
Select a finding to see it in context.
›Thinking…
The user wants a simple example using BigPanda. Let me check the repo first and see what's available.
BigPanda is an alert correlation/incident management platform (AIOps). It has a REST API for alerts ingestion, and SDKs... Let me think about whether there's a developer workflow I can act on without credentials. BigPanda requires an account and API token. There's no free tier sandbox accessible without signup.
Let me check the repo context first.
cd /sandbox/repo && ls -la && git log --oneline -5 2>/dev/null | head
total 16
total 16 drwxr-xr-x 3 root root 4096 Sep 18 08:00 . drwxr-xr-x 7 root root 4096 Nov 18 23:51 .. drwxr-xr-x 8 root root 4096 Sep 24 20:05 .git -rw-r--r-- 1 root root 408 Sep 18 08:00 .gitignore 9ebf5fb Initial workspace
Recorded tool call
{
"type": "tool_call",
"seq": 3,
"ts": "2026-11-18T23:52:52.400Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /sandbox/repo && ls -la && git log --oneline -5 2>/dev/null | head"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-b4e33eca87cdbb6f",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 5,
"ts": "2026-11-18T23:52:52.400Z",
"turn": 1,
"output": {
"content": [
{
"text": "total 16\ndrwxr-xr-x 3 root root 4096 Sep 18 08:00 .\ndrwxr-xr-x 7 root root 4096 Nov 18 23:51 ..\ndrwxr-xr-x 8 root root 4096 Sep 24 20:05 .git\n-rw-r--r-- 1 root root 408 Sep 18 08:00 .gitignore\n9ebf5fb Initial workspace\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-b4e33eca87cdbb6f",
"is_error": false,
"tool_kind": "shell"
}cd /sandbox/repo && cat README* 2>/dev/null | head -50; echo "---ENV---"; env | grep -iE 'bigpanda|BIGP' | sed 's/=.*/=<set>/'
---ENV---
---ENV---
Recorded tool call
{
"type": "tool_call",
"seq": 4,
"ts": "2026-11-18T23:52:52.400Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /sandbox/repo && cat README* 2>/dev/null | head -50; echo \"---ENV---\"; env | grep -iE 'bigpanda|BIGP' | sed 's/=.*/=<set>/'"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-9dac37e94bcc79d8",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 6,
"ts": "2026-11-18T23:52:52.400Z",
"turn": 1,
"output": {
"content": [
{
"text": "---ENV---\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-9dac37e94bcc79d8",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Empty repo. No BigPanda credentials in env. Let me check network access and whether there's any BigPanda SDK installable (pypi/npm).
Let me check connectivity quickly.
cd /sandbox/repo && (curl -s -o /dev/null -w "pypi:%{http_code}\n" --max-time 8 https://pypi.org/simple/ ; curl -s --max-time 8 -o /dev/null -w "npm:%{http_code}\n" https://registry.npmjs.org/@bigpanda ; curl -s --max-time 8 -o /dev/null -w "bigpanda:%{http_code}\n" https://api.bigpanda.io/ ) 2>&1pypi:200
pypi:200 npm:405 bigpanda:401
Recorded tool call
{
"type": "tool_call",
"seq": 9,
"ts": "2026-11-18T23:52:52.400Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /sandbox/repo && (curl -s -o /dev/null -w \"pypi:%{http_code}\\n\" --max-time 8 https://pypi.org/simple/ ; curl -s --max-time 8 -o /dev/null -w \"npm:%{http_code}\\n\" https://registry.npmjs.org/@bigpanda ; curl -s --max-time 8 -o /dev/null -w \"bigpanda:%{http_code}\\n\" https://api.bigpanda.io/ ) 2>&1"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-a4e2c837590fd98c",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 17,
"ts": "2026-11-18T23:52:52.400Z",
"turn": 1,
"output": {
"content": [
{
"text": "pypi:200\nnpm:405\nbigpanda:401\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-a4e2c837590fd98c",
"is_error": false,
"tool_kind": "shell"
}cd /sandbox/repo && curl -s --max-time 10 https://pypi.org/simple/ 2>/dev/null | grep -io 'href="[^"]*bigpanda[^"]*"' | head -20; echo "--- npm search ---"; curl -s --max-time 10 "https://registry.npmjs.org/-/v1/search?text=bigpanda&size=10" 2>/dev/null | python3 -c "import sys,json; d=json.load(sys.stdin); [print(o['package']['name'], o['package']['version'], '-', (o['package'].get('description') or '')[:80]) for o in d.get('objects',[])]" 2>/dev/nullhref="/simple/bigpanda/"
href="/simple/bigpanda/" href="/simple/bigpanda-splunk/" href="/simple/ct-bigpanda-mcp-server/" --- npm search --- @itentialopensource/adapter-bigpanda 1.0.13 - This adapter integrates with system described as: bigpanda patchouli 0.0.3 - BigPanda library for patching mongoose-patch 0.0.10 - BigPanda library for patching
Recorded tool call
{
"type": "tool_call",
"seq": 13,
"ts": "2026-11-18T23:52:52.400Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /sandbox/repo && curl -s --max-time 10 https://pypi.org/simple/ 2>/dev/null | grep -io 'href=\"[^\"]*bigpanda[^\"]*\"' | head -20; echo \"--- npm search ---\"; curl -s --max-time 10 \"https://registry.npmjs.org/-/v1/search?text=bigpanda&size=10\" 2>/dev/null | python3 -c \"import sys,json; d=json.load(sys.stdin); [print(o['package']['name'], o['package']['version'], '-', (o['package'].get('description') or '')[:80]) for o in d.get('objects',[])]\" 2>/dev/null"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-90075a1a5e2781dd",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 16,
"ts": "2026-11-18T23:52:52.400Z",
"turn": 1,
"output": {
"content": [
{
"text": "href=\"/simple/bigpanda/\"\nhref=\"/simple/bigpanda-splunk/\"\nhref=\"/simple/ct-bigpanda-mcp-server/\"\n--- npm search ---\n@itentialopensource/adapter-bigpanda 1.0.13 - This adapter integrates with system described as: bigpanda\npatchouli 0.0.3 - BigPanda library for patching\nmongoose-patch 0.0.10 - BigPanda library for patching\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-90075a1a5e2781dd",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Network is available. BigPanda API returns 401 (needs token). There's a bigpanda package on PyPI. Let me inspect it.
Key question: can I build a runnable example without credentials? BigPanda is a hosted SaaS AIOps/incident management platform. Its API requires an account + Bearer API key (alerts API) or a personal access token + Org Bearer token (other APIs). No sandbox/trial accessible without signup, no local emulator.
So the honest answer: I can write the example code using the SDK/REST API, but I cannot execute it end-to-end without a BigPanda account token. The user said "Let me know if you get blocked" and "If this product has no developer workflow you can act on, say so plainly and stop."
BigPanda DOES have a developer workflow — a REST API for alert ingestion, incident management, etc. That's a real developer workflow I can act on (write client code). But it's blocked from running without credentials. That's not "no developer workflow" — it's a credential blocker. I should do the light thing: inspect the SDK, write a minimal example, verify what I can offline (structure, maybe a mock), and report the blocker plus pricing.
Let me look at the PyPI bigpanda package metadata.
curl -s --max-time 15 https://pypi.org/pypi/bigpanda/json | python3 -c "
import sys,json
d=json.load(sys.stdin)
i=d['info']
print('name:',i['name']); print('version:',i['version']); print('summary:',i['summary'])
print('home:',i.get('home_page'), i.get('project_urls'))
print('requires:',i.get('requires_dist'))
print('---DESC---')
print((i.get('description') or '')[:2000])
"name: bigpanda
name: bigpanda
version: 2.2
summary: Python module for integration with BigPanda
home: https://bigpanda.io {'Homepage': 'https://bigpanda.io'}
requires: None
---DESC---
Recorded tool call
{
"type": "tool_call",
"seq": 20,
"ts": "2026-11-18T23:52:56.941Z",
"name": "bash",
"turn": 1,
"input": {
"command": "curl -s --max-time 15 https://pypi.org/pypi/bigpanda/json | python3 -c \"\nimport sys,json\nd=json.load(sys.stdin)\ni=d['info']\nprint('name:',i['name']); print('version:',i['version']); print('summary:',i['summary'])\nprint('home:',i.get('home_page'), i.get('project_urls'))\nprint('requires:',i.get('requires_dist'))\nprint('---DESC---')\nprint((i.get('description') or '')[:2000])\n\""
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-a95b133e7efacd93",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 24,
"ts": "2026-11-18T23:52:56.941Z",
"turn": 1,
"output": {
"content": [
{
"text": "name: bigpanda\nversion: 2.2\nsummary: Python module for integration with BigPanda\nhome: https://bigpanda.io {'Homepage': 'https://bigpanda.io'}\nrequires: None\n---DESC---\n\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-a95b133e7efacd93",
"is_error": false,
"tool_kind": "shell"
}curl -s --max-time 10 "https://pypi.org/pypi/bigpanda/json" | python3 -c "
import sys,json;d=json.load(sys.stdin)
for r,v in d.get('releases',{}).items():
for f in v: print(r, f['filename'], f.get('upload_time'))
" | tail -201.5.0 bigpanda-1.5.0.tar.gz 2014-05-04T16:21:10
1.5.0 bigpanda-1.5.0.tar.gz 2014-05-04T16:21:10 1.5.1 bigpanda-1.5.1.tar.gz 2014-05-04T16:27:51 1.5.2 bigpanda-1.5.2.tar.gz 2014-05-05T07:58:27 1.5.3 bigpanda-1.5.3.tar.gz 2014-05-05T08:09:06 1.5.4 bigpanda-1.5.4.tar.gz 2014-05-27T13:05:28 2.0 bigpanda-2.0.tar.gz 2014-09-07T07:34:15 2.1 bigpanda-2.1.tar.gz 2015-08-16T14:11:18 2.2 bigpanda-2.2.tar.gz 2017-11-30T23:43:12
Recorded tool call
{
"type": "tool_call",
"seq": 22,
"ts": "2026-11-18T23:52:56.941Z",
"name": "bash",
"turn": 1,
"input": {
"command": "curl -s --max-time 10 \"https://pypi.org/pypi/bigpanda/json\" | python3 -c \"\nimport sys,json;d=json.load(sys.stdin)\nfor r,v in d.get('releases',{}).items():\n for f in v: print(r, f['filename'], f.get('upload_time'))\n\" | tail -20"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-923026e341682e1c",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 25,
"ts": "2026-11-18T23:52:56.941Z",
"turn": 1,
"output": {
"content": [
{
"text": "1.5.0 bigpanda-1.5.0.tar.gz 2014-05-04T16:21:10\n1.5.1 bigpanda-1.5.1.tar.gz 2014-05-04T16:27:51\n1.5.2 bigpanda-1.5.2.tar.gz 2014-05-05T07:58:27\n1.5.3 bigpanda-1.5.3.tar.gz 2014-05-05T08:09:06\n1.5.4 bigpanda-1.5.4.tar.gz 2014-05-27T13:05:28\n2.0 bigpanda-2.0.tar.gz 2014-09-07T07:34:15\n2.1 bigpanda-2.1.tar.gz 2015-08-16T14:11:18\n2.2 bigpanda-2.2.tar.gz 2017-11-30T23:43:12\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-923026e341682e1c",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
The PyPI bigpanda package is abandoned (last release 2017, v2.2). Not the recommended path. BigPanda's actual developer surface is the REST API (https://api.bigpanda.io) — documented in their dev portal (docs.bigpanda.io). The typical "quickstart" is the Alerts REST API (v2): POST /v2/alerts with Authorization: Bearer <Alert API Key>.
Let me download the old SDK just to look, and also check the current API surface without credentials — I can at least confirm 401 behavior and the documented endpoints. Let me try to fetch docs.
Actually, let me be efficient. The plan:
- Confirm the SDK is stale → use REST API directly.
- Build a small, dependency-free example: a Python client for BigPanda's Alerts API v2 + Incidents API, runnable via CLI with env vars
BIGPANDA_ALERT_API_TOKEN/BIGPANDA_API_TOKEN. - Verify it runs offline with a mock/local stub? No — user said don't start local service stacks. A mock server is arguably a local service stack. I'll instead verify with a dry-run mode (
--dry-run) that prints the request without sending, plus unit-level checks that run in-process (no server). That's light.
Actually a "dry-run" test that just constructs the payload is fine and light. But I could also test against the real endpoint without credentials to show it reaches the API and returns 401 — that proves connectivity/auth path works. That's a single curl-ish call, light and not long-running. Good.
- Pricing: BigPanda does not publish pricing. It's enterprise SaaS, quote-based, typically priced per alert/event volume (annual alert count tiers) or per monitored resource, with annual contracts. I should be careful to flag uncertainty since I can't browse their pricing page... let me actually try to fetch it.
Let me check network access to docs.bigpanda.io and bigpanda.io/pricing.
cd /tmp && for u in https://www.bigpanda.io/pricing/ https://docs.bigpanda.io/ ; do echo "== $u"; curl -sL --max-time 12 -o /tmp/p.html -w "http:%{http_code} bytes:%{size_download}\n" "$u"; python3 - <<'EOF'
import re,html
t=open('/tmp/p.html',encoding='utf-8',errors='ignore').read()
t=re.sub(r'(?is)<(script|style|svg|noscript).*?</\1>',' ',t)
t=html.unescape(re.sub(r'<[^>]+>',' ',t))
t=re.sub(r'\s+',' ',t)
print(t[:1200])
EOF
done== https://www.bigpanda.io/pricing/
== https://www.bigpanda.io/pricing/ http:200 bytes:374276 Agentic ITOps Platform Demo Request | BigPanda English | Deutsch Service + Support Service Community Documentation Customer Support Platform Status Support Education & Certification Professional Services Login Platform Agentic ITOps Platform The BigPanda agentic ITOps platform uses AI to automate IT detection, triage, and resolution, improving operational efficiency and reducing downtime and costs. Explore the Platform Platform Overview AI Incident Prevention AI Detection & Response AI Incident Assistant IT Knowledge Graph Integrations Jira ServiceNow All Integrations Solutions Transform ITSM with Agentic ITOps Learn how enterprises can empower incident management teams with AI assistance by integrating agentic AI into their incident management strategy. Get the e-book Solutions for Automating L1 Detection & Response Empowering L2, L3, and SRE with AI Assistance Predicting & Preventing Incidents & Outages Industries Financial Services Insurance Managed Service Providers Manufacturing Retail Airlines All Industries My role is IT Operations Incident Management IT Service Management Site Reliability Engineering Customers Resources Derisking IT Change Management with Agentic AI Discov == https://docs.bigpanda.io/ http:200 bytes:12367 BigPanda Documentation Skip to main content Toggle navigation BigPanda Login Release Notes API Reference BigPanda Education How can we help you today? Advanced search Get Started Event Management Incident Management Change Management Problem Management Configure BigPanda Integrations Analytics Release Notes and New Features Resources Show more... Show less... Featured content 1 AI Incident Assistant (IA) 1 AI Incident Prevention (IP) 3 Release Notes and New Features Release Notes New Features Search results No results found © 2026 BigPanda English English
Recorded tool call
{
"type": "tool_call",
"seq": 28,
"ts": "2026-11-18T23:52:56.941Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /tmp && for u in https://www.bigpanda.io/pricing/ https://docs.bigpanda.io/ ; do echo \"== $u\"; curl -sL --max-time 12 -o /tmp/p.html -w \"http:%{http_code} bytes:%{size_download}\\n\" \"$u\"; python3 - <<'EOF'\nimport re,html\nt=open('/tmp/p.html',encoding='utf-8',errors='ignore').read()\nt=re.sub(r'(?is)<(script|style|svg|noscript).*?</\\1>',' ',t)\nt=html.unescape(re.sub(r'<[^>]+>',' ',t))\nt=re.sub(r'\\s+',' ',t)\nprint(t[:1200])\nEOF\ndone"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-be9783916894a279",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 30,
"ts": "2026-11-18T23:52:56.941Z",
"turn": 1,
"output": {
"content": [
{
"text": "== https://www.bigpanda.io/pricing/\nhttp:200 bytes:374276\n Agentic ITOps Platform Demo Request | BigPanda English | Deutsch Service + Support Service Community Documentation Customer Support Platform Status Support Education & Certification Professional Services Login Platform Agentic ITOps Platform The BigPanda agentic ITOps platform uses AI to automate IT detection, triage, and resolution, improving operational efficiency and reducing downtime and costs. Explore the Platform Platform Overview AI Incident Prevention AI Detection & Response AI Incident Assistant IT Knowledge Graph Integrations Jira ServiceNow All Integrations Solutions Transform ITSM with Agentic ITOps Learn how enterprises can empower incident management teams with AI assistance by integrating agentic AI into their incident management strategy. Get the e-book Solutions for Automating L1 Detection & Response Empowering L2, L3, and SRE with AI Assistance Predicting & Preventing Incidents & Outages Industries Financial Services Insurance Managed Service Providers Manufacturing Retail Airlines All Industries My role is IT Operations Incident Management IT Service Management Site Reliability Engineering Customers Resources Derisking IT Change Management with Agentic AI Discov\n== https://docs.bigpanda.io/\nhttp:200 bytes:12367\n BigPanda Documentation Skip to main content Toggle navigation BigPanda Login Release Notes API Reference BigPanda Education How can we help you today? Advanced search Get Started Event Management Incident Management Change Management Problem Management Configure BigPanda Integrations Analytics Release Notes and New Features Resources Show more... Show less... Featured content 1 AI Incident Assistant (IA) 1 AI Incident Prevention (IP) 3 Release Notes and New Features Release Notes New Features Search results No results found © 2026 BigPanda English English \n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-be9783916894a279",
"is_error": false,
"tool_kind": "shell"
}cd /tmp && pip download bigpanda==2.2 --no-deps -q -d /tmp/bpsdk 2>&1 | tail -2; ls /tmp/bpsdk 2>/dev/null && tar xzf /tmp/bpsdk/*.tar.gz -C /tmp/bpsdk && find /tmp/bpsdk -name '*.py' | head -20
[notice] A new release of pip is available: 26.2.1 -> 26.3
[notice] A new release of pip is available: 26.2.1 -> 26.3 [notice] To update, run: /opt/freestyle/python/bin/python3 -m pip install --upgrade pip bigpanda-2.2.tar.gz /tmp/bpsdk/bigpanda-2.2/bigpanda/config.py /tmp/bpsdk/bigpanda-2.2/bigpanda/client.py /tmp/bpsdk/bigpanda-2.2/bigpanda/__init__.py /tmp/bpsdk/bigpanda-2.2/bigpanda/alert.py /tmp/bpsdk/bigpanda-2.2/bigpanda/deployment.py /tmp/bpsdk/bigpanda-2.2/setup.py
Recorded tool call
{
"type": "tool_call",
"seq": 29,
"ts": "2026-11-18T23:52:56.941Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /tmp && pip download bigpanda==2.2 --no-deps -q -d /tmp/bpsdk 2>&1 | tail -2; ls /tmp/bpsdk 2>/dev/null && tar xzf /tmp/bpsdk/*.tar.gz -C /tmp/bpsdk && find /tmp/bpsdk -name '*.py' | head -20"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-97317d8a0a3b5ecd",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 31,
"ts": "2026-11-18T23:53:01.622Z",
"turn": 1,
"output": {
"content": [
{
"text": "[notice] A new release of pip is available: 26.2.1 -> 26.3\n[notice] To update, run: /opt/freestyle/python/bin/python3 -m pip install --upgrade pip\nbigpanda-2.2.tar.gz\n/tmp/bpsdk/bigpanda-2.2/bigpanda/config.py\n/tmp/bpsdk/bigpanda-2.2/bigpanda/client.py\n/tmp/bpsdk/bigpanda-2.2/bigpanda/__init__.py\n/tmp/bpsdk/bigpanda-2.2/bigpanda/alert.py\n/tmp/bpsdk/bigpanda-2.2/bigpanda/deployment.py\n/tmp/bpsdk/bigpanda-2.2/setup.py\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-97317d8a0a3b5ecd",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
The pricing page is a "Demo Request" page — no published pricing. Confirms quote-based.
Docs are reachable. Let me look at the API reference for the Alerts REST API to build an accurate example. Let me find the API reference URL.
cd /tmp && python3 - <<'EOF'
import re,html
t=open('/tmp/p.html',encoding='utf-8',errors='ignore').read()
for m in set(re.findall(r'href="([^"]+)"',t)):
if 'api' in m.lower() or 'reference' in m.lower(): print(m)
EOFhttps://api-docs.bigpanda.io/en
https://api-docs.bigpanda.io/en
Recorded tool call
{
"type": "tool_call",
"seq": 34,
"ts": "2026-11-18T23:53:01.622Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /tmp && python3 - <<'EOF'\nimport re,html\nt=open('/tmp/p.html',encoding='utf-8',errors='ignore').read()\nfor m in set(re.findall(r'href=\"([^\"]+)\"',t)):\n if 'api' in m.lower() or 'reference' in m.lower(): print(m)\nEOF"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-a5ff5591dae79ba2",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 37,
"ts": "2026-11-18T23:53:01.622Z",
"turn": 1,
"output": {
"content": [
{
"text": "https://api-docs.bigpanda.io/en\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-a5ff5591dae79ba2",
"is_error": false,
"tool_kind": "shell"
}cd /tmp/bpsdk/bigpanda-2.2 && wc -l bigpanda/*.py && head -60 bigpanda/client.py && echo "=== alert.py ===" && head -40 bigpanda/alert.py
41 bigpanda/__init__.py
41 bigpanda/__init__.py
131 bigpanda/alert.py
104 bigpanda/client.py
1 bigpanda/config.py
127 bigpanda/deployment.py
404 total
import requests
try:
import simplejson as json
except ImportError:
import json
import config
import deployment
import alert
from requests import Session
from requests.adapters import HTTPAdapter
class Client(object):
"""
BigPanda Client object, used to send alerts and deployments.
"""
def __init__(self, api_token, app_key=None, base_url=config.base_url, timeout=10, max_retries=5, suppress_app_key=False):
"""
Create a new Client object, used to send alerts and deployments.
api_token: Your organization's API token
app_key: Application key, required for sending alerts.
"""
self.api_token = api_token
self.app_key = app_key
self.base_url = base_url
self.time_out = timeout
self.max_retries = max_retries
self.suppress_app_key = suppress_app_key
self.session = Session()
def deployment(self, component, version, hosts, status='start', owner=None, env=None):
"""
Return a new Deployment object associated with this client.
Refer to bigpanda.Deployment for more help.
"""
return deployment.Deployment(component, version, hosts, status, owner, env, client=self)
def alert(self, status, subject, check=None, description=None, cluster=None, timestamp=None, primary_attr='host', secondary_attr='check', **kwargs):
"""
Return a new Alert object associated with this client.
Refer to bigpanda.Alert for more help.
"""
return alert.Alert(status, subject, check, description, cluster, timestamp, primary_attr, secondary_attr, client=self, **kwargs)
def send(self, data):
"""
Send an alert or deployment object.
Normally equivalent to calling .send() on the object itself, but accepts a list
of alerts/deployment to send in a single api call.
"""
data_type = self._get_data_type(data)
if isinstance(data, list):
if data_type != 'alert':
raise TypeError('Batch mode is only supported for alerts.')
=== alert.py ===
import time
class Alert(object):
"""
BigPanda alert object.
Example:
>> bp = bigpanda.Client(api_token='0123479abadsfgab')
>> alert = bp.alert("warn", "host1", "ping check")
>> alert.send()
...
>> alert.status = 'crit'
>> alert.send()
# Create an alert with a custom attribute
>> custom_alert = bp.alert("crit", "myapp", "app connections", connections=124)
>> custom_alert.send()
# Update alerts in batch mode
>> custom_alert.status = 'ack'
>> alert.status = 'ok'
>> bp.send([alert, custom_alert])
methods:
send(): Send alert to server
"""
_endpoint = '/data/v2/alerts'
_api_statuses = dict(ok='ok', warn='warning', crit='critical', ack='acknowledged')
def __init__(self, status, subject, check=None, description=None, cluster=None, timestamp=None, primary_attr='host', secondary_attr='check', client=None, **kwargs):
"""
Create a new alert.
status: Status of alert. One of: ok, warn, crit, ack
subject: Primary attribute. Name of host/application/service etc.
check: Secondary attribute. Specific alert about the subject.
description: Text description of the alert
cluster: Name of cluster/logical group the subject is in
timestamp: Unix time of alert (default is now)
primary_attr: Primary attribute name (default is `host')
Recorded tool call
{
"type": "tool_call",
"seq": 35,
"ts": "2026-11-18T23:53:01.622Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /tmp/bpsdk/bigpanda-2.2 && wc -l bigpanda/*.py && head -60 bigpanda/client.py && echo \"=== alert.py ===\" && head -40 bigpanda/alert.py"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-82a16b773b5333e0",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 36,
"ts": "2026-11-18T23:53:01.622Z",
"turn": 1,
"output": {
"content": [
{
"text": " 41 bigpanda/__init__.py\n 131 bigpanda/alert.py\n 104 bigpanda/client.py\n 1 bigpanda/config.py\n 127 bigpanda/deployment.py\n 404 total\nimport requests\ntry:\n import simplejson as json\nexcept ImportError:\n import json\n\nimport config\nimport deployment\nimport alert\nfrom requests import Session\nfrom requests.adapters import HTTPAdapter\n\nclass Client(object):\n \"\"\"\n BigPanda Client object, used to send alerts and deployments.\n \"\"\" \n def __init__(self, api_token, app_key=None, base_url=config.base_url, timeout=10, max_retries=5, suppress_app_key=False):\n \"\"\"\n Create a new Client object, used to send alerts and deployments.\n\n api_token: Your organization's API token\n app_key: Application key, required for sending alerts.\n \"\"\"\n self.api_token = api_token\n self.app_key = app_key\n self.base_url = base_url\n self.time_out = timeout\n self.max_retries = max_retries\n self.suppress_app_key = suppress_app_key\n self.session = Session()\n\n def deployment(self, component, version, hosts, status='start', owner=None, env=None):\n \"\"\"\n Return a new Deployment object associated with this client.\n \n Refer to bigpanda.Deployment for more help.\n \"\"\"\n return deployment.Deployment(component, version, hosts, status, owner, env, client=self)\n\n def alert(self, status, subject, check=None, description=None, cluster=None, timestamp=None, primary_attr='host', secondary_attr='check', **kwargs):\n \"\"\"\n Return a new Alert object associated with this client.\n \n Refer to bigpanda.Alert for more help.\n \"\"\"\n return alert.Alert(status, subject, check, description, cluster, timestamp, primary_attr, secondary_attr, client=self, **kwargs)\n\n def send(self, data):\n \"\"\"\n Send an alert or deployment object.\n \n Normally equivalent to calling .send() on the object itself, but accepts a list\n of alerts/deployment to send in a single api call.\n \"\"\"\n\n data_type = self._get_data_type(data)\n\n if isinstance(data, list):\n if data_type != 'alert':\n raise TypeError('Batch mode is only supported for alerts.')\n=== alert.py ===\nimport time\n\nclass Alert(object):\n \"\"\"\n BigPanda alert object.\n\n Example:\n >> bp = bigpanda.Client(api_token='0123479abadsfgab')\n >> alert = bp.alert(\"warn\", \"host1\", \"ping check\")\n >> alert.send()\n ...\n >> alert.status = 'crit'\n >> alert.send()\n\n # Create an alert with a custom attribute\n >> custom_alert = bp.alert(\"crit\", \"myapp\", \"app connections\", connections=124)\n >> custom_alert.send()\n\n # Update alerts in batch mode\n >> custom_alert.status = 'ack'\n >> alert.status = 'ok'\n >> bp.send([alert, custom_alert])\n\n methods:\n send(): Send alert to server\n \"\"\"\n\n _endpoint = '/data/v2/alerts'\n _api_statuses = dict(ok='ok', warn='warning', crit='critical', ack='acknowledged')\n\n def __init__(self, status, subject, check=None, description=None, cluster=None, timestamp=None, primary_attr='host', secondary_attr='check', client=None, **kwargs):\n \"\"\"\n Create a new alert.\n status: Status of alert. One of: ok, warn, crit, ack\n subject: Primary attribute. Name of host/application/service etc.\n check: Secondary attribute. Specific alert about the subject.\n description: Text description of the alert\n cluster: Name of cluster/logical group the subject is in\n timestamp: Unix time of alert (default is now)\n primary_attr: Primary attribute name (default is `host')\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-82a16b773b5333e0",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
The PyPI SDK uses /data/v2/alerts and an app_key — that's the legacy "App Key" flow. Current BigPanda Alerts REST API v2 uses POST https://api.bigpanda.io/data/v2/alerts with Authorization: Bearer <Alert API Key> and Content-Type: application/json. The app key is deprecated in favor of the Bearer token per the current docs. Let me confirm from api-docs.bigpanda.io.
cd /tmp && for u in "https://api-docs.bigpanda.io/en" "https://api-docs.bigpanda.io/reference/alerts-api-overview" "https://api-docs.bigpanda.io/docs/alerts-api-overview"; do echo "=== $u"; curl -sL --max-time 12 -o /tmp/a.html -w "http:%{http_code} bytes:%{size_download}\n" "$u"; python3 - <<'EOF'
import re,html
t=open('/tmp/a.html',encoding='utf-8',errors='ignore').read()
t=re.sub(r'(?is)<(script|style|svg|noscript).*?</\1>',' ',t)
t=html.unescape(re.sub(r'<[^>]+>',' ',t)); t=re.sub(r'\s+',' ',t)
print(t[:1500])
EOF
done=== https://api-docs.bigpanda.io/en
=== https://api-docs.bigpanda.io/en http:200 bytes:312126 Get Started - BigPanda API reference Welcome to the New BigPanda API Documentation BigPanda Docs Login Login AI Detection and Response AI Incident Assistant and Prevention Release Notes Education Support BigPanda Docs Login Login AI Detection and Response AI Incident Assistant and Prevention Release Notes Education Support BigPanda APIs BigPanda APIs Get Started API Credentials Before you begin Make your first API call Using BigPanda APIs Rate Limits Authentication and Headers Making Requests Responses Pagination Asynchronous Operations Expandable Objects BPQL Object Syntax Versioning and Deprecation Webhooks Best Practices Errors and Troubleshooting Regions AI Incident Assistant and Prevention AI Incident Assistant and Prevention (Biggy) API Actions and Execution Query Send a Query Retrieve a Response Major Incident Management (MIM) Execute a MIM Workflow From a Template List Templates Retrieve Template Details Resolve a MIM execution Cancel a MIM Execution Retrieve MIM Executions Retrieve MIM Execution Details Change Risk Retrieve Change Risk Assessment Request Status Trigger a Risk-Rated Change Assessment Retrieve a Risk Rated Change Assessment Meetings and Transcripts Meetings Invite Biggy to Join a Meeting Transcripts Generate a transcript summary List transcripts Retrieve raw transcript Agents MCP Use Biggy via a remote MCP A2A Use the A2A protocol Retrieve the agent card Reporting Multi-Context Generation Generate a Report Access and Administration Audit log Retrieve === https://api-docs.bigpanda.io/reference/alerts-api-overview http:404 bytes:69344 BigPanda API reference 404 Page not found Back to home Built with === https://api-docs.bigpanda.io/docs/alerts-api-overview http:404 bytes:69344 BigPanda API reference 404 Page not found Back to home Built with
Recorded tool call
{
"type": "tool_call",
"seq": 40,
"ts": "2026-11-18T23:53:06.454Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /tmp && for u in \"https://api-docs.bigpanda.io/en\" \"https://api-docs.bigpanda.io/reference/alerts-api-overview\" \"https://api-docs.bigpanda.io/docs/alerts-api-overview\"; do echo \"=== $u\"; curl -sL --max-time 12 -o /tmp/a.html -w \"http:%{http_code} bytes:%{size_download}\\n\" \"$u\"; python3 - <<'EOF'\nimport re,html\nt=open('/tmp/a.html',encoding='utf-8',errors='ignore').read()\nt=re.sub(r'(?is)<(script|style|svg|noscript).*?</\\1>',' ',t)\nt=html.unescape(re.sub(r'<[^>]+>',' ',t)); t=re.sub(r'\\s+',' ',t)\nprint(t[:1500])\nEOF\ndone"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-91ee183be9e349d2",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 41,
"ts": "2026-11-18T23:53:06.454Z",
"turn": 1,
"output": {
"content": [
{
"text": "=== https://api-docs.bigpanda.io/en\nhttp:200 bytes:312126\n Get Started - BigPanda API reference Welcome to the New BigPanda API Documentation BigPanda Docs Login Login AI Detection and Response AI Incident Assistant and Prevention Release Notes Education Support BigPanda Docs Login Login AI Detection and Response AI Incident Assistant and Prevention Release Notes Education Support BigPanda APIs BigPanda APIs Get Started API Credentials Before you begin Make your first API call Using BigPanda APIs Rate Limits Authentication and Headers Making Requests Responses Pagination Asynchronous Operations Expandable Objects BPQL Object Syntax Versioning and Deprecation Webhooks Best Practices Errors and Troubleshooting Regions AI Incident Assistant and Prevention AI Incident Assistant and Prevention (Biggy) API Actions and Execution Query Send a Query Retrieve a Response Major Incident Management (MIM) Execute a MIM Workflow From a Template List Templates Retrieve Template Details Resolve a MIM execution Cancel a MIM Execution Retrieve MIM Executions Retrieve MIM Execution Details Change Risk Retrieve Change Risk Assessment Request Status Trigger a Risk-Rated Change Assessment Retrieve a Risk Rated Change Assessment Meetings and Transcripts Meetings Invite Biggy to Join a Meeting Transcripts Generate a transcript summary List transcripts Retrieve raw transcript Agents MCP Use Biggy via a remote MCP A2A Use the A2A protocol Retrieve the agent card Reporting Multi-Context Generation Generate a Report Access and Administration Audit log Retrieve \n=== https://api-docs.bigpanda.io/reference/alerts-api-overview\nhttp:404 bytes:69344\n BigPanda API reference 404 Page not found Back to home Built with \n=== https://api-docs.bigpanda.io/docs/alerts-api-overview\nhttp:404 bytes:69344\n BigPanda API reference 404 Page not found Back to home Built with \n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-91ee183be9e349d2",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Let me get the actual endpoint slugs from the landing page nav links.
cd /tmp && curl -sL --max-time 15 "https://api-docs.bigpanda.io/en" -o /tmp/a.html && python3 - <<'EOF'
import re
t=open('/tmp/a.html',encoding='utf-8',errors='ignore').read()
links=sorted(set(re.findall(r'href="(/(?:reference|docs)/[^"#?]+)"',t)))
for l in links:
if any(k in l for k in ('alert','credential','first-api','incident','open-box','event')): print(l)
print('--- total', len(links))
EOF--- total 0
--- total 0
Recorded tool call
{
"type": "tool_call",
"seq": 44,
"ts": "2026-11-18T23:53:11.200Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /tmp && curl -sL --max-time 15 \"https://api-docs.bigpanda.io/en\" -o /tmp/a.html && python3 - <<'EOF'\nimport re\nt=open('/tmp/a.html',encoding='utf-8',errors='ignore').read()\nlinks=sorted(set(re.findall(r'href=\"(/(?:reference|docs)/[^\"#?]+)\"',t)))\nfor l in links:\n if any(k in l for k in ('alert','credential','first-api','incident','open-box','event')): print(l)\nprint('--- total', len(links))\nEOF"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-b8ce87bc5875c0d2",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 46,
"ts": "2026-11-18T23:53:11.200Z",
"turn": 1,
"output": {
"content": [
{
"text": "--- total 0\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-b8ce87bc5875c0d2",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
The nav is client-side rendered. Let me try the read-me.io style API — the docs are built with ReadMe ("Built with ReadMe"). ReadMe sites expose /openapi or a JSON spec. Let me look for links of any kind in the page.
cd /tmp && python3 - <<'EOF'
import re
t=open('/tmp/a.html',encoding='utf-8',errors='ignore').read()
print(sorted(set(re.findall(r'href="([^"]{3,120})"',t)))[:60])
m=re.findall(r'(["\'](?:https?://[^"\']*readme[^"\']*)["\'])',t)[:5]; print(m)
print([s for s in re.findall(r'src="([^"]+)"',t)][:10])
EOF['#available-resources-and-actions', '#how-to-get-started', '#next-steps', '#what-you-can-build', '/a2a', '/access-and-administration-ai-detection-and-response'
['#available-resources-and-actions', '#how-to-get-started', '#next-steps', '#what-you-can-build', '/a2a', '/access-and-administration-ai-detection-and-response', '/access-and-administration-ai-incident-assistant-and-prevention', '/actions-and-execution', '/activate-user-37770168e0', '/add-a-paging-target-44692919e0', '/add-an-alert-payload-for-oim-normalization-and-processing-37770217e0', '/add-an-incident-tag-to-an-incident-37770107e0', '/add-data-connector-authentication', '/add-multiple-incident-tags-to-an-incident-37770110e0', '/add-timeline-entry-44131274e0', '/add-users-to-role-38345847e0', '/agents', '/ai-analysis-actions', '/ai-analysis-configuration', '/ai-detection-and-response-apis', '/ai-incident-assistant-and-prevention-biggy-api', '/ai-settings', '/alert-filters', '/alert-ingestion', '/alert-ingestion-oim', '/alert-tags', '/alert-tags-and-enrichment', '/alerts', '/alerts-resolve-alerts', '/api-credentials', '/api-keys', '/appdynamics-37770232e0', '/assign-incident-37770102e0', '/asynchronous-operations', '/audit-log', '/audit-log-ai-detection-and-response', '/authentication-and-headers', '/azure-37770239e0', '/before-you-begin', '/best-practices', '/biggy-integrations-10982000f0', '/bpql-object-syntax', '/cancel-a-mim-execution-37769968e0', '/change-risk', '/change-status-44131267e0', '/change-user-password-37770167e0', '/changes-and-root-cause', '/check-status-of-upload-job-38346154e0', '/cisco-meraki-37770233e0', '/cloudwatch-37770234e0', '/comment-on-incident-37770099e0', '/compare-configuration-versions', '/compare-configuration-versions-for-email-parser-41913640e0', '/configuration', '/configure-sso-for-provider-37770180e0', '/connectors', '/correlation-patterns', '/create-a-biggy-integration-instance-44692915e0', '/create-a-data-connector', '/create-a-new-ai-analysis-configuration-37770117e0'] [] ['https://file-assets.apidog.com/docs-site/v1/assets/prepareDocsConfigScript-C-w5SdQE.js', 'https://assets.apidog.com/app/apidoc-image/custom/20260408/9c6bdc47-db34-417f-b690-dbe5de7cc254.png']
Recorded tool call
{
"type": "tool_call",
"seq": 49,
"ts": "2026-11-18T23:53:11.200Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /tmp && python3 - <<'EOF'\nimport re\nt=open('/tmp/a.html',encoding='utf-8',errors='ignore').read()\nprint(sorted(set(re.findall(r'href=\"([^\"]{3,120})\"',t)))[:60])\nm=re.findall(r'([\"\\'](?:https?://[^\"\\']*readme[^\"\\']*)[\"\\'])',t)[:5]; print(m)\nprint([s for s in re.findall(r'src=\"([^\"]+)\"',t)][:10])\nEOF"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-b803ad9a0d4ff08e",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 50,
"ts": "2026-11-18T23:53:11.200Z",
"turn": 1,
"output": {
"content": [
{
"text": "['#available-resources-and-actions', '#how-to-get-started', '#next-steps', '#what-you-can-build', '/a2a', '/access-and-administration-ai-detection-and-response', '/access-and-administration-ai-incident-assistant-and-prevention', '/actions-and-execution', '/activate-user-37770168e0', '/add-a-paging-target-44692919e0', '/add-an-alert-payload-for-oim-normalization-and-processing-37770217e0', '/add-an-incident-tag-to-an-incident-37770107e0', '/add-data-connector-authentication', '/add-multiple-incident-tags-to-an-incident-37770110e0', '/add-timeline-entry-44131274e0', '/add-users-to-role-38345847e0', '/agents', '/ai-analysis-actions', '/ai-analysis-configuration', '/ai-detection-and-response-apis', '/ai-incident-assistant-and-prevention-biggy-api', '/ai-settings', '/alert-filters', '/alert-ingestion', '/alert-ingestion-oim', '/alert-tags', '/alert-tags-and-enrichment', '/alerts', '/alerts-resolve-alerts', '/api-credentials', '/api-keys', '/appdynamics-37770232e0', '/assign-incident-37770102e0', '/asynchronous-operations', '/audit-log', '/audit-log-ai-detection-and-response', '/authentication-and-headers', '/azure-37770239e0', '/before-you-begin', '/best-practices', '/biggy-integrations-10982000f0', '/bpql-object-syntax', '/cancel-a-mim-execution-37769968e0', '/change-risk', '/change-status-44131267e0', '/change-user-password-37770167e0', '/changes-and-root-cause', '/check-status-of-upload-job-38346154e0', '/cisco-meraki-37770233e0', '/cloudwatch-37770234e0', '/comment-on-incident-37770099e0', '/compare-configuration-versions', '/compare-configuration-versions-for-email-parser-41913640e0', '/configuration', '/configure-sso-for-provider-37770180e0', '/connectors', '/correlation-patterns', '/create-a-biggy-integration-instance-44692915e0', '/create-a-data-connector', '/create-a-new-ai-analysis-configuration-37770117e0']\n[]\n['https://file-assets.apidog.com/docs-site/v1/assets/prepareDocsConfigScript-C-w5SdQE.js', 'https://assets.apidog.com/app/apidoc-image/custom/20260408/9c6bdc47-db34-417f-b690-dbe5de7cc254.png']\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-b803ad9a0d4ff08e",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
It's Apidog-based docs. Let me fetch /api-credentials, /alert-ingestion, /before-you-begin, /alerts-resolve-alerts, /incidents to get accurate endpoint info.
cd /tmp && cat > scrape.py <<'EOF'
import re,html,sys,urllib.request
def get(u):
req=urllib.request.Request(u,headers={'User-Agent':'Mozilla/5.0'})
return urllib.request.urlopen(req,timeout=15).read().decode('utf-8','ignore')
def txt(t,n=3000):
t=re.sub(r'(?is)<(script|style|svg|noscript|head).*?</\1>',' ',t)
t=html.unescape(re.sub(r'<[^>]+>',' ',t))
return re.sub(r'[ \t]+',' ',re.sub(r'\s*\n\s*','\n',t)).strip()[:n]
for p in sys.argv[1:]:
print('\n=========== ',p)
try: print(txt(get('https://api-docs.bigpanda.io'+p)))
except Exception as e: print('ERR',e)
EOF
python3 scrape.py /alert-ingestion /api-credentials=========== /alert-ingestion
=========== /alert-ingestion Welcome to the New BigPanda API Documentation BigPanda Docs Login Login AI Detection and Response AI Incident Assistant and Prevention Release Notes Education Support BigPanda Docs Login Login AI Detection and Response AI Incident Assistant and Prevention Release Notes Education Support Alerts BigPanda APIs Get Started API Credentials Before you begin Make your first API call Using BigPanda APIs Rate Limits Authentication and Headers Making Requests Responses Pagination Asynchronous Operations Expandable Objects BPQL Object Syntax Versioning and Deprecation Webhooks Best Practices Errors and Troubleshooting Regions AI Incident Assistant and Prevention AI Incident Assistant and Prevention (Biggy) API Actions and Execution Query Send a Query Retrieve a Response Major Incident Management (MIM) Execute a MIM Workflow From a Template List Templates Retrieve Template Details Resolve a MIM execution Cancel a MIM Execution Retrieve MIM Executions Retrieve MIM Execution Details Change Risk Retrieve Change Risk Assessment Request Status Trigger a Risk-Rated Change Assessment Retrieve a Risk Rated Change Assessment Meetings and Transcripts Meetings Invite Biggy to Join a Meeting Transcripts Generate a transcript summary List transcripts Retrieve raw transcript Agents MCP Use Biggy via a remote MCP A2A Use the A2A protocol Retrieve the agent card Reporting Multi-Context Generation Generate a Report Access and Administration Audit log Retrieve Audit Log Retrieve Audit Log Metadata Users Update User Team Retrieve a User Retrieve All Users Retrieve User Activity Retrieve User Roles Update User Roles Roles Retrieve a Role Retrieve All Roles Retrieve All Users Associated with a Role Organizational Teams Retrieve all organizational teams Retrieve organizational team members Incidents Incident Status Pages Set a default status page template Delete a status page template Update a status page template Create a status page template Get a status page template List status page templates Update organization status page settings Get organization status page settings Delete a status page Record page view Get update history Add timeline entry Edit AI content section Generate AI content Update status page section content Change status Update status page details Create a status page Get a status page List all status pages Biggy Integrations Retrieve all Biggy integration instances Retrieve all Biggy integration instances by type Retrieve a Biggy integration instance Retrieve full Biggy integration catalog Retrieve a Biggy integration catalog entry Create a Biggy integration instance Update a Biggy integration instance Delete a Biggy integration instance Paging Targets Retrieve paging targets Add a paging target Update a paging target Delete a paging target AI Detection and Response AI Detection and Response APIs Alerts Alert Ingestion Send alert monitoring events to BigPanda OIM Send Normalized Alert(s) Retrieve destination tags Alert Tags & Enrichment Get Started with the Al =========== /api-credentials Welcome to the New BigPanda API Documentation BigPanda Docs Login Login AI Detection and Response AI Incident Assistant and Prevention Release Notes Education Support BigPanda Docs Login Login AI Detection and Response AI Incident Assistant and Prevention Release Notes Education Support Get Started BigPanda APIs Get Started API Credentials Before you begin Make your first API call Using BigPanda APIs Rate Limits Authentication and Headers Making Requests Responses Pagination Asynchronous Operations Expandable Objects BPQL Object Syntax Versioning and Deprecation Webhooks Best Practices Errors and Troubleshooting Regions AI Incident Assistant and Prevention AI Incident Assistant and Prevention (Biggy) API Actions and Execution Query Send a Query Retrieve a Response Major Incident Management (MIM) Execute a MIM Workflow From a Template List Templates Retrieve Template Details Resolve a MIM execution Cancel a MIM Execution Retrieve MIM Executions Retrieve MIM Execution Details Change Risk Retrieve Change Risk Assessment Request Status Trigger a Risk-Rated Change Assessment Retrieve a Risk Rated Change Assessment Meetings and Transcripts Meetings Invite Biggy to Join a Meeting Transcripts Generate a transcript summary List transcripts Retrieve raw transcript Agents MCP Use Biggy via a remote MCP A2A Use the A2A protocol Retrieve the agent card Reporting Multi-Context Generation Generate a Report Access and Administration Audit log Retrieve Audit Log Retrieve Audit Log Metadata Users Update User Team Retrieve a User Retrieve All Users Retrieve User Activity Retrieve User Roles Update User Roles Roles Retrieve a Role Retrieve All Roles Retrieve All Users Associated with a Role Organizational Teams Retrieve all organizational teams Retrieve organizational team members Incidents Incident Status Pages Set a default status page template Delete a status page template Update a status page template Create a status page template Get a status page template List status page templates Update organization status page settings Get organization status page settings Delete a status page Record page view Get update history Add timeline entry Edit AI content section Generate AI content Update status page section content Change status Update status page details Create a status page Get a status page List all status pages Biggy Integrations Retrieve all Biggy integration instances Retrieve all Biggy integration instances by type Retrieve a Biggy integration instance Retrieve full Biggy integration catalog Retrieve a Biggy integration catalog entry Create a Biggy integration instance Update a Biggy integration instance Delete a Biggy integration instance Paging Targets Retrieve paging targets Add a paging target Update a paging target Delete a paging target AI Detection and Response AI Detection and Response APIs Alerts Alert Ingestion Send alert monitoring events to BigPanda OIM Send Normalized Alert(s) Retrieve destination tags Alert Tags & Enrichment Get Started with t
Recorded tool call
{
"type": "tool_call",
"seq": 53,
"ts": "2026-11-18T23:53:17.358Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /tmp && cat > scrape.py <<'EOF'\nimport re,html,sys,urllib.request\ndef get(u):\n req=urllib.request.Request(u,headers={'User-Agent':'Mozilla/5.0'})\n return urllib.request.urlopen(req,timeout=15).read().decode('utf-8','ignore')\ndef txt(t,n=3000):\n t=re.sub(r'(?is)<(script|style|svg|noscript|head).*?</\\1>',' ',t)\n t=html.unescape(re.sub(r'<[^>]+>',' ',t))\n return re.sub(r'[ \\t]+',' ',re.sub(r'\\s*\\n\\s*','\\n',t)).strip()[:n]\nfor p in sys.argv[1:]:\n print('\\n=========== ',p)\n try: print(txt(get('https://api-docs.bigpanda.io'+p)))\n except Exception as e: print('ERR',e)\nEOF\npython3 scrape.py /alert-ingestion /api-credentials"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-83deea62f420fef3",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 54,
"ts": "2026-11-18T23:53:17.358Z",
"turn": 1,
"output": {
"content": [
{
"text": "\n=========== /alert-ingestion\nWelcome to the New BigPanda API Documentation\nBigPanda Docs Login Login AI Detection and Response AI Incident Assistant and Prevention Release Notes Education Support BigPanda Docs Login Login AI Detection and Response AI Incident Assistant and Prevention Release Notes Education Support Alerts BigPanda APIs Get Started API Credentials Before you begin Make your first API call Using BigPanda APIs Rate Limits Authentication and Headers Making Requests Responses Pagination Asynchronous Operations Expandable Objects BPQL Object Syntax Versioning and Deprecation Webhooks Best Practices Errors and Troubleshooting Regions AI Incident Assistant and Prevention AI Incident Assistant and Prevention (Biggy) API Actions and Execution Query Send a Query Retrieve a Response Major Incident Management (MIM) Execute a MIM Workflow From a Template List Templates Retrieve Template Details Resolve a MIM execution Cancel a MIM Execution Retrieve MIM Executions Retrieve MIM Execution Details Change Risk Retrieve Change Risk Assessment Request Status Trigger a Risk-Rated Change Assessment Retrieve a Risk Rated Change Assessment Meetings and Transcripts Meetings Invite Biggy to Join a Meeting Transcripts Generate a transcript summary List transcripts Retrieve raw transcript Agents MCP Use Biggy via a remote MCP A2A Use the A2A protocol Retrieve the agent card Reporting Multi-Context Generation Generate a Report Access and Administration Audit log Retrieve Audit Log Retrieve Audit Log Metadata Users Update User Team Retrieve a User Retrieve All Users Retrieve User Activity Retrieve User Roles Update User Roles Roles Retrieve a Role Retrieve All Roles Retrieve All Users Associated with a Role Organizational Teams Retrieve all organizational teams Retrieve organizational team members Incidents Incident Status Pages Set a default status page template Delete a status page template Update a status page template Create a status page template Get a status page template List status page templates Update organization status page settings Get organization status page settings Delete a status page Record page view Get update history Add timeline entry Edit AI content section Generate AI content Update status page section content Change status Update status page details Create a status page Get a status page List all status pages Biggy Integrations Retrieve all Biggy integration instances Retrieve all Biggy integration instances by type Retrieve a Biggy integration instance Retrieve full Biggy integration catalog Retrieve a Biggy integration catalog entry Create a Biggy integration instance Update a Biggy integration instance Delete a Biggy integration instance Paging Targets Retrieve paging targets Add a paging target Update a paging target Delete a paging target AI Detection and Response AI Detection and Response APIs Alerts Alert Ingestion Send alert monitoring events to BigPanda OIM Send Normalized Alert(s) Retrieve destination tags Alert Tags & Enrichment Get Started with the Al\n\n=========== /api-credentials\nWelcome to the New BigPanda API Documentation\nBigPanda Docs Login Login AI Detection and Response AI Incident Assistant and Prevention Release Notes Education Support BigPanda Docs Login Login AI Detection and Response AI Incident Assistant and Prevention Release Notes Education Support Get Started BigPanda APIs Get Started API Credentials Before you begin Make your first API call Using BigPanda APIs Rate Limits Authentication and Headers Making Requests Responses Pagination Asynchronous Operations Expandable Objects BPQL Object Syntax Versioning and Deprecation Webhooks Best Practices Errors and Troubleshooting Regions AI Incident Assistant and Prevention AI Incident Assistant and Prevention (Biggy) API Actions and Execution Query Send a Query Retrieve a Response Major Incident Management (MIM) Execute a MIM Workflow From a Template List Templates Retrieve Template Details Resolve a MIM execution Cancel a MIM Execution Retrieve MIM Executions Retrieve MIM Execution Details Change Risk Retrieve Change Risk Assessment Request Status Trigger a Risk-Rated Change Assessment Retrieve a Risk Rated Change Assessment Meetings and Transcripts Meetings Invite Biggy to Join a Meeting Transcripts Generate a transcript summary List transcripts Retrieve raw transcript Agents MCP Use Biggy via a remote MCP A2A Use the A2A protocol Retrieve the agent card Reporting Multi-Context Generation Generate a Report Access and Administration Audit log Retrieve Audit Log Retrieve Audit Log Metadata Users Update User Team Retrieve a User Retrieve All Users Retrieve User Activity Retrieve User Roles Update User Roles Roles Retrieve a Role Retrieve All Roles Retrieve All Users Associated with a Role Organizational Teams Retrieve all organizational teams Retrieve organizational team members Incidents Incident Status Pages Set a default status page template Delete a status page template Update a status page template Create a status page template Get a status page template List status page templates Update organization status page settings Get organization status page settings Delete a status page Record page view Get update history Add timeline entry Edit AI content section Generate AI content Update status page section content Change status Update status page details Create a status page Get a status page List all status pages Biggy Integrations Retrieve all Biggy integration instances Retrieve all Biggy integration instances by type Retrieve a Biggy integration instance Retrieve full Biggy integration catalog Retrieve a Biggy integration catalog entry Create a Biggy integration instance Update a Biggy integration instance Delete a Biggy integration instance Paging Targets Retrieve paging targets Add a paging target Update a paging target Delete a paging target AI Detection and Response AI Detection and Response APIs Alerts Alert Ingestion Send alert monitoring events to BigPanda OIM Send Normalized Alert(s) Retrieve destination tags Alert Tags & Enrichment Get Started with t\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-83deea62f420fef3",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
The nav dominates. I need the main content body. Let me extract by finding the content after the nav — look for a specific marker, or extract JSON-LD / the apidog data payload. Better: strip nav by finding <main or article. Let me dump the body text after "Show more".
Alternative: use the apidog API spec endpoint. Apidog docs sites often serve /api/v1/shared-docs/.... Let me try extracting text and searching for "Bearer" or "api.bigpanda.io".
cd /tmp && cat > scrape2.py <<'EOF'
import re,html,sys,urllib.request
def get(u):
req=urllib.request.Request(u,headers={'User-Agent':'Mozilla/5.0'})
return urllib.request.urlopen(req,timeout=15).read().decode('utf-8','ignore')
raw=get('https://api-docs.bigpanda.io'+sys.argv[1])
t=re.sub(r'(?is)<(script|style|svg|noscript|head|nav).*?</\1>',' ',raw)
t=html.unescape(re.sub(r'<[^>]+>','\n',t))
t=re.sub(r'[ \t]+',' ',t); t=re.sub(r'\n\s*\n+','\n',t).strip()
lines=t.split('\n')
# find start: skip repeated nav boilerplate by locating last occurrence of the nav tail marker
idx=max(i for i,l in enumerate(lines) if 'Education' in l)
print('\n'.join(lines[idx+1:])[:4000])
EOF
python3 scrape2.py /alert-ingestionSupport
Support BigPanda APIs Get Started API Credentials Before you begin Make your first API call Using BigPanda APIs Rate Limits Authentication and Headers Making Requests Responses Pagination Asynchronous Operations Expandable Objects BPQL Object Syntax Versioning and Deprecation Webhooks Best Practices Errors and Troubleshooting Regions AI Incident Assistant and Prevention AI Incident Assistant and Prevention (Biggy) API Actions and Execution Query Send a Query Retrieve a Response Major Incident Management (MIM) Execute a MIM Workflow From a Template List Templates Retrieve Template Details Resolve a MIM execution Cancel a MIM Execution Retrieve MIM Executions Retrieve MIM Execution Details Change Risk Retrieve Change Risk Assessment Request Status Trigger a Risk-Rated Change Assessment Retrieve a Risk Rated Change Assessment Meetings and Transcripts Meetings Invite Biggy to Join a Meeting Transcripts Generate a transcript summary List transcripts Retrieve raw transcript Agents MCP Use Biggy via a remote MCP A2A Use the A2A protocol Retrieve the agent card Reporting Multi-Context Generation Generate a Report Access and Administration Audit log Retrieve Audit Log Retrieve Audit Log Metadata Users Update User Team Retrieve a User Retrieve All Users Retrieve User Activity Retrieve User Roles Update User Roles Roles Retrieve a Role Retrieve All Roles Retrieve All Users Associated with a Role Organizational Teams Retrieve all organizational teams Retrieve organizational team members Incidents Incident Status Pages Set a default status page template Delete a status page template Update a status page template Create a status page template Get a status page template List status page templates Update organization status page settings Get organization status page settings Delete a status page Record page view Get update history Add timeline entry Edit AI content section Generate AI content Update status page section content Change status Update status page details Create a status page Get a status page List all status pages Biggy Integrations Retrieve all Biggy integration instances Retrieve all Biggy integration instances by type Retrieve a Biggy integration instance Retrieve full Biggy integration catalog Retrieve a Biggy integration catalog entry Create a Biggy integration instance Update a Biggy integration instance Delete a Biggy integration instance Paging Targets Retrieve paging targets Add a paging target Update a paging target Delete a paging target AI Detection and Response AI Detection and Response APIs Alerts Alert Ingestion Send alert monitoring events to BigPanda OIM Send Normalized Alert(s) Retrieve destination tags Alert Tags & Enrichment Get Started with the Alert Enrichment API Alert tags v2 Routes List All Alert Tags Update tag order Retrieve tags order Create Alert Tag Retrieve All Alert Tags Retrieve Alert Tag Update Alert Tag Data Update Alert Tag Order Delete Alert Tag Enrichment items v2 Routes List All Enrichment Items of a Tag Retrieve enrichment item order Update Enrichment Items Order Create Alert Enrichment Item Retrieve Alert Enrichment Item Delete Alert Enrichment Item Update Alert Enrichment Item Create Enrichment Delete Enrichment Item Update Enrichment Item Update Enrichment Item Order for an Alert Tag Mapping enrichments Mapping Enrichment v2.1 Routes Manage Mapping Enrichments Retrieve All Mapping Enrichment Schemas Create Mapping Enrichment Schema Retrieve Mapping Enrichment Schema Delete Mapping Enrichment Schema Update Mapping Enrichment Schema Retrieve Mapping Enrichment Table Create mapping enrichment table using CSV Create, Update, or Delete Mapping Enrichment Row Retrieve Mapping Table Job Status v2.0 Routes Retrieve Mapping Enrichment Create Mapping Enrichment Table Rows Update Mapping Enrichment Table Rows Check Status of Upload Job Create Advanced Mapping Schema Retrieve All Advanced Mapping Schemas Retrieve Advanced Mapping Schema Update Advanced Mapping Schema Delete Advanced Mapping Schema C
Recorded tool call
{
"type": "tool_call",
"seq": 57,
"ts": "2026-11-18T23:53:17.358Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /tmp && cat > scrape2.py <<'EOF'\nimport re,html,sys,urllib.request\ndef get(u):\n req=urllib.request.Request(u,headers={'User-Agent':'Mozilla/5.0'})\n return urllib.request.urlopen(req,timeout=15).read().decode('utf-8','ignore')\nraw=get('https://api-docs.bigpanda.io'+sys.argv[1])\nt=re.sub(r'(?is)<(script|style|svg|noscript|head|nav).*?</\\1>',' ',raw)\nt=html.unescape(re.sub(r'<[^>]+>','\\n',t))\nt=re.sub(r'[ \\t]+',' ',t); t=re.sub(r'\\n\\s*\\n+','\\n',t).strip()\nlines=t.split('\\n')\n# find start: skip repeated nav boilerplate by locating last occurrence of the nav tail marker\nidx=max(i for i,l in enumerate(lines) if 'Education' in l)\nprint('\\n'.join(lines[idx+1:])[:4000])\nEOF\npython3 scrape2.py /alert-ingestion"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-a64e89f1ad95b49b",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 58,
"ts": "2026-11-18T23:53:17.358Z",
"turn": 1,
"output": {
"content": [
{
"text": "Support\nBigPanda APIs\nGet Started\nAPI Credentials\nBefore you begin\nMake your first API call\nUsing BigPanda APIs\nRate Limits\nAuthentication and Headers\nMaking Requests\nResponses\nPagination\nAsynchronous Operations\nExpandable Objects\nBPQL Object Syntax\nVersioning and Deprecation\nWebhooks\nBest Practices\nErrors and Troubleshooting\nRegions\nAI Incident Assistant and Prevention\nAI Incident Assistant and Prevention (Biggy) API\nActions and Execution\nQuery\nSend a Query\nRetrieve a Response\nMajor Incident Management (MIM)\nExecute a MIM Workflow From a Template\nList Templates\nRetrieve Template Details\nResolve a MIM execution\nCancel a MIM Execution\nRetrieve MIM Executions\nRetrieve MIM Execution Details\nChange Risk\nRetrieve Change Risk Assessment Request Status\nTrigger a Risk-Rated Change Assessment\nRetrieve a Risk Rated Change Assessment\nMeetings and Transcripts\nMeetings\nInvite Biggy to Join a Meeting\nTranscripts\nGenerate a transcript summary\nList transcripts\nRetrieve raw transcript\nAgents\nMCP\nUse Biggy via a remote MCP\nA2A\nUse the A2A protocol\nRetrieve the agent card\nReporting\nMulti-Context Generation\nGenerate a Report\nAccess and Administration\nAudit log\nRetrieve Audit Log\nRetrieve Audit Log Metadata\nUsers\nUpdate User Team\nRetrieve a User\nRetrieve All Users\nRetrieve User Activity\nRetrieve User Roles\nUpdate User Roles\nRoles\nRetrieve a Role\nRetrieve All Roles\nRetrieve All Users Associated with a Role\nOrganizational Teams\nRetrieve all organizational teams\nRetrieve organizational team members\nIncidents\nIncident Status Pages\nSet a default status page template\nDelete a status page template\nUpdate a status page template\nCreate a status page template\nGet a status page template\nList status page templates\nUpdate organization status page settings\nGet organization status page settings\nDelete a status page\nRecord page view\nGet update history\nAdd timeline entry\nEdit AI content section\nGenerate AI content\nUpdate status page section content\nChange status\nUpdate status page details\nCreate a status page\nGet a status page\nList all status pages\nBiggy Integrations\nRetrieve all Biggy integration instances\nRetrieve all Biggy integration instances by type\nRetrieve a Biggy integration instance\nRetrieve full Biggy integration catalog\nRetrieve a Biggy integration catalog entry\nCreate a Biggy integration instance\nUpdate a Biggy integration instance\nDelete a Biggy integration instance\nPaging Targets\nRetrieve paging targets\nAdd a paging target\nUpdate a paging target\nDelete a paging target\nAI Detection and Response\nAI Detection and Response APIs\nAlerts\nAlert Ingestion\nSend alert monitoring events to BigPanda\nOIM Send Normalized Alert(s)\nRetrieve destination tags\nAlert Tags & Enrichment\nGet Started with the Alert Enrichment API\nAlert tags\nv2 Routes\nList All Alert Tags\nUpdate tag order\nRetrieve tags order\nCreate Alert Tag\nRetrieve All Alert Tags\nRetrieve Alert Tag\nUpdate Alert Tag Data\nUpdate Alert Tag Order\nDelete Alert Tag\nEnrichment items\nv2 Routes\nList All Enrichment Items of a Tag\nRetrieve enrichment item order\nUpdate Enrichment Items Order\nCreate Alert Enrichment Item\nRetrieve Alert Enrichment Item\nDelete Alert Enrichment Item\nUpdate Alert Enrichment Item\nCreate Enrichment\nDelete Enrichment Item\nUpdate Enrichment Item\nUpdate Enrichment Item Order for an Alert Tag\nMapping enrichments\nMapping Enrichment\nv2.1 Routes\nManage Mapping Enrichments\nRetrieve All Mapping Enrichment Schemas\nCreate Mapping Enrichment Schema\nRetrieve Mapping Enrichment Schema\nDelete Mapping Enrichment Schema\nUpdate Mapping Enrichment Schema\nRetrieve Mapping Enrichment Table\nCreate mapping enrichment table using CSV\nCreate, Update, or Delete Mapping Enrichment Row\nRetrieve Mapping Table Job Status\nv2.0 Routes\nRetrieve Mapping Enrichment\nCreate Mapping Enrichment Table Rows\nUpdate Mapping Enrichment Table Rows\nCheck Status of Upload Job\nCreate Advanced Mapping Schema\nRetrieve All Advanced Mapping Schemas\nRetrieve Advanced Mapping Schema\nUpdate Advanced Mapping Schema\nDelete Advanced Mapping Schema\nC\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-a64e89f1ad95b49b",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
The nav is huge and duplicated twice (mobile/desktop). The actual content should come after all nav. Let me find the last occurrence of a nav-ish marker deeper, or better: search for "POST" / "api.bigpanda.io" occurrences in the text and print surrounding context.
cd /tmp && cat > s3.py <<'EOF'
import re,html,sys,urllib.request
def get(u):
req=urllib.request.Request(u,headers={'User-Agent':'Mozilla/5.0'})
return urllib.request.urlopen(req,timeout=15).read().decode('utf-8','ignore')
raw=get('https://api-docs.bigpanda.io'+sys.argv[1])
t=re.sub(r'(?is)<(script|style|svg|noscript|head).*?</\1>',' ',raw)
t=html.unescape(re.sub(r'<[^>]+>','\n',t)); t=re.sub(r'[ \t]+',' ',t)
t=re.sub(r'\n\s*\n+','\n',t).strip(); lines=t.split('\n')
start=None
for i,l in enumerate(lines):
if re.match(r'^(Show more|Show less)$',l): start=i
print('\n'.join(lines[(start or 0):])[:6000])
EOF
python3 s3.py /alert-ingestionWelcome to the New BigPanda API Documentation
Welcome to the New BigPanda API Documentation BigPanda Docs Login Login AI Detection and Response AI Incident Assistant and Prevention Release Notes Education Support BigPanda Docs Login Login AI Detection and Response AI Incident Assistant and Prevention Release Notes Education Support Alerts BigPanda APIs Get Started API Credentials Before you begin Make your first API call Using BigPanda APIs Rate Limits Authentication and Headers Making Requests Responses Pagination Asynchronous Operations Expandable Objects BPQL Object Syntax Versioning and Deprecation Webhooks Best Practices Errors and Troubleshooting Regions AI Incident Assistant and Prevention AI Incident Assistant and Prevention (Biggy) API Actions and Execution Query Send a Query Retrieve a Response Major Incident Management (MIM) Execute a MIM Workflow From a Template List Templates Retrieve Template Details Resolve a MIM execution Cancel a MIM Execution Retrieve MIM Executions Retrieve MIM Execution Details Change Risk Retrieve Change Risk Assessment Request Status Trigger a Risk-Rated Change Assessment Retrieve a Risk Rated Change Assessment Meetings and Transcripts Meetings Invite Biggy to Join a Meeting Transcripts Generate a transcript summary List transcripts Retrieve raw transcript Agents MCP Use Biggy via a remote MCP A2A Use the A2A protocol Retrieve the agent card Reporting Multi-Context Generation Generate a Report Access and Administration Audit log Retrieve Audit Log Retrieve Audit Log Metadata Users Update User Team Retrieve a User Retrieve All Users Retrieve User Activity Retrieve User Roles Update User Roles Roles Retrieve a Role Retrieve All Roles Retrieve All Users Associated with a Role Organizational Teams Retrieve all organizational teams Retrieve organizational team members Incidents Incident Status Pages Set a default status page template Delete a status page template Update a status page template Create a status page template Get a status page template List status page templates Update organization status page settings Get organization status page settings Delete a status page Record page view Get update history Add timeline entry Edit AI content section Generate AI content Update status page section content Change status Update status page details Create a status page Get a status page List all status pages Biggy Integrations Retrieve all Biggy integration instances Retrieve all Biggy integration instances by type Retrieve a Biggy integration instance Retrieve full Biggy integration catalog Retrieve a Biggy integration catalog entry Create a Biggy integration instance Update a Biggy integration instance Delete a Biggy integration instance Paging Targets Retrieve paging targets Add a paging target Update a paging target Delete a paging target AI Detection and Response AI Detection and Response APIs Alerts Alert Ingestion Send alert monitoring events to BigPanda OIM Send Normalized Alert(s) Retrieve destination tags Alert Tags & Enrichment Get Started with the Alert Enrichment API Alert tags v2 Routes List All Alert Tags Update tag order Retrieve tags order Create Alert Tag Retrieve All Alert Tags Retrieve Alert Tag Update Alert Tag Data Update Alert Tag Order Delete Alert Tag Enrichment items v2 Routes List All Enrichment Items of a Tag Retrieve enrichment item order Update Enrichment Items Order Create Alert Enrichment Item Retrieve Alert Enrichment Item Delete Alert Enrichment Item Update Alert Enrichment Item Create Enrichment Delete Enrichment Item Update Enrichment Item Update Enrichment Item Order for an Alert Tag Mapping enrichments Mapping Enrichment v2.1 Routes Manage Mapping Enrichments Retrieve All Mapping Enrichment Schemas Create Mapping Enrichment Schema Retrieve Mapping Enrichment Schema Delete Mapping Enrichment Schema Update Mapping Enrichment Schema Retrieve Mapping Enrichment Table Create mapping enrichment table using CSV Create, Update, or Delete Mapping Enrichment Row Retrieve Mapping Table Job Status v2.0 Routes Retrieve Mapping Enrichment Create Mapping Enrichment Table Rows Update Mapping Enrichment Table Rows Check Status of Upload Job Create Advanced Mapping Schema Retrieve All Advanced Mapping Schemas Retrieve Advanced Mapping Schema Update Advanced Mapping Schema Delete Advanced Mapping Schema Create Mapping Enrichment Table Create or Update Map Rows Retrieve Map Rows Update Mapping Enrichment Row Delete Map Rows Delete Mapping Enrichment Row Retrieve Upload Job Status Correlation Patterns Create Correlation Pattern Retrieve All Correlation Patterns Retrieve a Correlation Pattern by ID Update Correlation Pattern Delete Correlation Pattern Update Correlation Pattern Order Reset Correlation Patterns Order Maintenance Plans Create a new maintenance plan Retrieve All Plans Retrieve a Plan Stop Plan Update a Plan Delete a Plan Topology Create Topology Retrieve All Topologies Retrieve a Topology Update a Topology Delete a Topology Alert Filters v1 Routes Retrieve All Alert Filters Create an Alert Filter Retrieve an Alert Filter Delete an Alert Filter Update an Alert Filter Retrieve All Alert Filter Schedules Create an Alert Filter Schedule Retrieve an Alert Filter Schedule Delete an Alert Filter Schedule Update an Alert Filter Schedule Create an Alert Filter Retrieve All Alert Filters Retrieve an Alert Filter Update an Alert Filter Delete an Alert Filter Create an Alert Filter Schedule Retrieve All Alert Filter Schedules Retrieve an Alert Filter Schedule Update an Alert Filter Schedule Delete an Alert Filter Schedule Resolve Alerts Resolve Alerts Incidents Notifications Create a new webhook v2 workflow integration Retrieve all existing webhook v2 configurations Retrieve an existing webhook v2 configuration Update an existing webhook v2 workflow integration Delete a webhook v2 workflow integration Retrieve available dynamic variables Changes & Root Cause Create or Update a Change Retrieve All Changes Retrieve a Change Retrieve All RCC Relations (for an incident or change) Create an
Recorded tool call
{
"type": "tool_call",
"seq": 61,
"ts": "2026-11-18T23:53:21.448Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /tmp && cat > s3.py <<'EOF'\nimport re,html,sys,urllib.request\ndef get(u):\n req=urllib.request.Request(u,headers={'User-Agent':'Mozilla/5.0'})\n return urllib.request.urlopen(req,timeout=15).read().decode('utf-8','ignore')\nraw=get('https://api-docs.bigpanda.io'+sys.argv[1])\nt=re.sub(r'(?is)<(script|style|svg|noscript|head).*?</\\1>',' ',raw)\nt=html.unescape(re.sub(r'<[^>]+>','\\n',t)); t=re.sub(r'[ \\t]+',' ',t)\nt=re.sub(r'\\n\\s*\\n+','\\n',t).strip(); lines=t.split('\\n')\nstart=None\nfor i,l in enumerate(lines):\n if re.match(r'^(Show more|Show less)$',l): start=i\nprint('\\n'.join(lines[(start or 0):])[:6000])\nEOF\npython3 s3.py /alert-ingestion"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-8d9a61f82c794c67",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 62,
"ts": "2026-11-18T23:53:21.448Z",
"turn": 1,
"output": {
"content": [
{
"text": "Welcome to the New BigPanda API Documentation\nBigPanda Docs\nLogin\nLogin\nAI Detection and Response\nAI Incident Assistant and Prevention\nRelease Notes\nEducation\nSupport\nBigPanda Docs\nLogin\nLogin\nAI Detection and Response\nAI Incident Assistant and Prevention\nRelease Notes\nEducation\nSupport\nAlerts\nBigPanda APIs\nGet Started\nAPI Credentials\nBefore you begin\nMake your first API call\nUsing BigPanda APIs\nRate Limits\nAuthentication and Headers\nMaking Requests\nResponses\nPagination\nAsynchronous Operations\nExpandable Objects\nBPQL Object Syntax\nVersioning and Deprecation\nWebhooks\nBest Practices\nErrors and Troubleshooting\nRegions\nAI Incident Assistant and Prevention\nAI Incident Assistant and Prevention (Biggy) API\nActions and Execution\nQuery\nSend a Query\nRetrieve a Response\nMajor Incident Management (MIM)\nExecute a MIM Workflow From a Template\nList Templates\nRetrieve Template Details\nResolve a MIM execution\nCancel a MIM Execution\nRetrieve MIM Executions\nRetrieve MIM Execution Details\nChange Risk\nRetrieve Change Risk Assessment Request Status\nTrigger a Risk-Rated Change Assessment\nRetrieve a Risk Rated Change Assessment\nMeetings and Transcripts\nMeetings\nInvite Biggy to Join a Meeting\nTranscripts\nGenerate a transcript summary\nList transcripts\nRetrieve raw transcript\nAgents\nMCP\nUse Biggy via a remote MCP\nA2A\nUse the A2A protocol\nRetrieve the agent card\nReporting\nMulti-Context Generation\nGenerate a Report\nAccess and Administration\nAudit log\nRetrieve Audit Log\nRetrieve Audit Log Metadata\nUsers\nUpdate User Team\nRetrieve a User\nRetrieve All Users\nRetrieve User Activity\nRetrieve User Roles\nUpdate User Roles\nRoles\nRetrieve a Role\nRetrieve All Roles\nRetrieve All Users Associated with a Role\nOrganizational Teams\nRetrieve all organizational teams\nRetrieve organizational team members\nIncidents\nIncident Status Pages\nSet a default status page template\nDelete a status page template\nUpdate a status page template\nCreate a status page template\nGet a status page template\nList status page templates\nUpdate organization status page settings\nGet organization status page settings\nDelete a status page\nRecord page view\nGet update history\nAdd timeline entry\nEdit AI content section\nGenerate AI content\nUpdate status page section content\nChange status\nUpdate status page details\nCreate a status page\nGet a status page\nList all status pages\nBiggy Integrations\nRetrieve all Biggy integration instances\nRetrieve all Biggy integration instances by type\nRetrieve a Biggy integration instance\nRetrieve full Biggy integration catalog\nRetrieve a Biggy integration catalog entry\nCreate a Biggy integration instance\nUpdate a Biggy integration instance\nDelete a Biggy integration instance\nPaging Targets\nRetrieve paging targets\nAdd a paging target\nUpdate a paging target\nDelete a paging target\nAI Detection and Response\nAI Detection and Response APIs\nAlerts\nAlert Ingestion\nSend alert monitoring events to BigPanda\nOIM Send Normalized Alert(s)\nRetrieve destination tags\nAlert Tags & Enrichment\nGet Started with the Alert Enrichment API\nAlert tags\nv2 Routes\nList All Alert Tags\nUpdate tag order\nRetrieve tags order\nCreate Alert Tag\nRetrieve All Alert Tags\nRetrieve Alert Tag\nUpdate Alert Tag Data\nUpdate Alert Tag Order\nDelete Alert Tag\nEnrichment items\nv2 Routes\nList All Enrichment Items of a Tag\nRetrieve enrichment item order\nUpdate Enrichment Items Order\nCreate Alert Enrichment Item\nRetrieve Alert Enrichment Item\nDelete Alert Enrichment Item\nUpdate Alert Enrichment Item\nCreate Enrichment\nDelete Enrichment Item\nUpdate Enrichment Item\nUpdate Enrichment Item Order for an Alert Tag\nMapping enrichments\nMapping Enrichment\nv2.1 Routes\nManage Mapping Enrichments\nRetrieve All Mapping Enrichment Schemas\nCreate Mapping Enrichment Schema\nRetrieve Mapping Enrichment Schema\nDelete Mapping Enrichment Schema\nUpdate Mapping Enrichment Schema\nRetrieve Mapping Enrichment Table\nCreate mapping enrichment table using CSV\nCreate, Update, or Delete Mapping Enrichment Row\nRetrieve Mapping Table Job Status\nv2.0 Routes\nRetrieve Mapping Enrichment\nCreate Mapping Enrichment Table Rows\nUpdate Mapping Enrichment Table Rows\nCheck Status of Upload Job\nCreate Advanced Mapping Schema\nRetrieve All Advanced Mapping Schemas\nRetrieve Advanced Mapping Schema\nUpdate Advanced Mapping Schema\nDelete Advanced Mapping Schema\nCreate Mapping Enrichment Table\nCreate or Update Map Rows\nRetrieve Map Rows\nUpdate Mapping Enrichment Row\nDelete Map Rows\nDelete Mapping Enrichment Row\nRetrieve Upload Job Status\nCorrelation Patterns\nCreate Correlation Pattern\nRetrieve All Correlation Patterns\nRetrieve a Correlation Pattern by ID\nUpdate Correlation Pattern\nDelete Correlation Pattern\nUpdate Correlation Pattern Order\nReset Correlation Patterns Order\nMaintenance Plans\nCreate a new maintenance plan\nRetrieve All Plans\nRetrieve a Plan\nStop Plan\nUpdate a Plan\nDelete a Plan\nTopology\nCreate Topology\nRetrieve All Topologies\nRetrieve a Topology\nUpdate a Topology\nDelete a Topology\nAlert Filters\nv1 Routes\nRetrieve All Alert Filters\nCreate an Alert Filter\nRetrieve an Alert Filter\nDelete an Alert Filter\nUpdate an Alert Filter\nRetrieve All Alert Filter Schedules\nCreate an Alert Filter Schedule\nRetrieve an Alert Filter Schedule\nDelete an Alert Filter Schedule\nUpdate an Alert Filter Schedule\nCreate an Alert Filter\nRetrieve All Alert Filters\nRetrieve an Alert Filter\nUpdate an Alert Filter\nDelete an Alert Filter\nCreate an Alert Filter Schedule\nRetrieve All Alert Filter Schedules\nRetrieve an Alert Filter Schedule\nUpdate an Alert Filter Schedule\nDelete an Alert Filter Schedule\nResolve Alerts\nResolve Alerts\nIncidents\nNotifications\nCreate a new webhook v2 workflow integration\nRetrieve all existing webhook v2 configurations\nRetrieve an existing webhook v2 configuration\nUpdate an existing webhook v2 workflow integration\nDelete a webhook v2 workflow integration\nRetrieve available dynamic variables\nChanges & Root Cause\nCreate or Update a Change\nRetrieve All Changes\nRetrieve a Change\nRetrieve All RCC Relations (for an incident or change)\nCreate an\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-8d9a61f82c794c67",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
The nav is fully client-rendered; content probably lives in a JSON blob. Rather than scraping further, let me try the "Send alert monitoring events to BigPanda" page which likely has slug /send-alert-monitoring-events-to-bigpanda. But scraping is painful.
Alternative approach: BigPanda publishes an OpenAPI spec. Apidog docs sites serve the spec at something like https://api-docs.bigpanda.io/openapi.json or via __NEXT_DATA__. But this is apidog not next. Let me check for the embedded JSON in the raw HTML — search for "paths" or api.bigpanda.io.
Honestly, I already know the API well enough and can verify empirically. The critical facts I need:
- Alerts REST API v2:
POST https://api.bigpanda.io/data/v2/alerts, headerAuthorization: Bearer <Alert API Key>,Content-Type: application/json. Body:{"status": "critical", "host": "...", "check": "...", "description": "...", "application": "..."}. - Open Box (Incidents/Alerts) API:
GET https://api.bigpanda.io/resources/incidents/open?status=open&incidentType=...withAuthorization: Bearer <Main API Key / PAT>. - Regions:
api.bigpanda.io(US) andeu-api.bigpanda.io(EU).
Let me verify empirically by hitting the endpoints without a token — the 401/404 responses will confirm path existence. Let me test a few paths.
cd /tmp && grep -o 'api\.bigpanda\.io[^"< ]*' a.html | sort -u | head; echo "--- bearer hits:"; grep -io 'Bearer [A-Za-z< ]*' a.html | sort -u | head; echo "--- probe paths (no creds, expect 401 if exists) ---"
for p in "/data/v2/alerts" "/resources/incidents/open?status=open" "/resources/v2/alerts" "/resources/alerts" ; do
for m in POST GET; do printf "%s %-45s " "$m" "$p"; curl -s -o /dev/null -w "%{http_code}\n" --max-time 10 -X $m -H "Content-Type: application/json" -d '{}' "https://api.bigpanda.io$p"; done; done
echo "--- eu region ---"; curl -s -o /dev/null -w "eu:%{http_code}\n" --max-time 10 https://eu-api.bigpanda.io/data/v2/alertsapi.bigpanda.io\
api.bigpanda.io\ --- bearer hits: Bearer token in the Bearer token in the <code data --- probe paths (no creds, expect 401 if exists) --- POST /data/v2/alerts 401 GET /data/v2/alerts 401 POST /resources/incidents/open?status=open 401 GET /resources/incidents/open?status=open 401 POST /resources/v2/alerts 401 GET /resources/v2/alerts 401 POST /resources/alerts 401 GET /resources/alerts 401 --- eu region --- eu:401
Recorded tool call
{
"type": "tool_call",
"seq": 65,
"ts": "2026-11-18T23:53:25.723Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /tmp && grep -o 'api\\.bigpanda\\.io[^\"< ]*' a.html | sort -u | head; echo \"--- bearer hits:\"; grep -io 'Bearer [A-Za-z< ]*' a.html | sort -u | head; echo \"--- probe paths (no creds, expect 401 if exists) ---\"\nfor p in \"/data/v2/alerts\" \"/resources/incidents/open?status=open\" \"/resources/v2/alerts\" \"/resources/alerts\" ; do\n for m in POST GET; do printf \"%s %-45s \" \"$m\" \"$p\"; curl -s -o /dev/null -w \"%{http_code}\\n\" --max-time 10 -X $m -H \"Content-Type: application/json\" -d '{}' \"https://api.bigpanda.io$p\"; done; done\necho \"--- eu region ---\"; curl -s -o /dev/null -w \"eu:%{http_code}\\n\" --max-time 10 https://eu-api.bigpanda.io/data/v2/alerts"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-908a82c911fd502d",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 67,
"ts": "2026-11-18T23:53:30.917Z",
"turn": 1,
"output": {
"content": [
{
"text": "api.bigpanda.io\\\n--- bearer hits:\nBearer token in the \nBearer token in the <code data\n--- probe paths (no creds, expect 401 if exists) ---\nPOST /data/v2/alerts 401\nGET /data/v2/alerts 401\nPOST /resources/incidents/open?status=open 401\nGET /resources/incidents/open?status=open 401\nPOST /resources/v2/alerts 401\nGET /resources/v2/alerts 401\nPOST /resources/alerts 401\nGET /resources/alerts 401\n--- eu region ---\neu:401\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-908a82c911fd502d",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Everything returns 401 regardless (gateway-level auth), so I can't distinguish valid from invalid paths without credentials. That's expected.
Let me try to get the actual doc content from the apidog JSON. Look for a script with page data. Let me grep for the doc content in the raw html of a specific page, e.g. /send-alert-monitoring-events-to-bigpanda.
Actually, let's check if there's an OpenAPI spec link. Apidog shared docs typically fetch from https://api-docs.bigpanda.io/api/v1/shared-doc-data?doc_id=.... Let me look at the raw HTML for doc_id or window config.
cd /tmp && grep -o 'window\.[A-Za-z_]*\s*=' a.html | sort -u | head; echo "---"; grep -oE '"(doc_id|sharedDocId|projectId|bookId)"[^,]{0,60}' a.html | head; echo "--- json-ish keys ---"; grep -oE 'https://[a-z0-9.-]*apidog[a-z0-9./-]*' a.html | sort -u | headwindow.__remixContext =
window.__remixContext = window.__remixRouteModules = window.__updateThemeElement = window.eventTracking = --- --- json-ish keys --- https://api.apidog.com https://apidog.com https://apidog.com/help https://apidog.com/help/reference/csv https://app.apidog.com https://assets.apidog.com/app/apidoc-image/custom/20260408/0ac68ec5-de92-42a6-8dd7-6c7e40ab6354.png https://assets.apidog.com/app/apidoc-image/custom/20260408/4940fae7-e4bf-4e28-9eea-b66bc66ff070.png https://assets.apidog.com/app/apidoc-image/custom/20260408/9c6bdc47-db34-417f-b690-dbe5de7cc254.png https://assets.apidog.com/app/static/apidoc https://assets.apidog.com/app/static/brand/apidoc.png
Recorded tool call
{
"type": "tool_call",
"seq": 70,
"ts": "2026-11-18T23:53:30.917Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /tmp && grep -o 'window\\.[A-Za-z_]*\\s*=' a.html | sort -u | head; echo \"---\"; grep -oE '\"(doc_id|sharedDocId|projectId|bookId)\"[^,]{0,60}' a.html | head; echo \"--- json-ish keys ---\"; grep -oE 'https://[a-z0-9.-]*apidog[a-z0-9./-]*' a.html | sort -u | head"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-be21de4c7b228b48",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 71,
"ts": "2026-11-18T23:53:30.917Z",
"turn": 1,
"output": {
"content": [
{
"text": "window.__remixContext =\nwindow.__remixRouteModules =\nwindow.__updateThemeElement =\nwindow.eventTracking =\n---\n--- json-ish keys ---\nhttps://api.apidog.com\nhttps://apidog.com\nhttps://apidog.com/help\nhttps://apidog.com/help/reference/csv\nhttps://app.apidog.com\nhttps://assets.apidog.com/app/apidoc-image/custom/20260408/0ac68ec5-de92-42a6-8dd7-6c7e40ab6354.png\nhttps://assets.apidog.com/app/apidoc-image/custom/20260408/4940fae7-e4bf-4e28-9eea-b66bc66ff070.png\nhttps://assets.apidog.com/app/apidoc-image/custom/20260408/9c6bdc47-db34-417f-b690-dbe5de7cc254.png\nhttps://assets.apidog.com/app/static/apidoc\nhttps://assets.apidog.com/app/static/brand/apidoc.png\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-be21de4c7b228b48",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Remix app — content loaded client-side from api.apidog.com. Not worth scraping further; I have enough knowledge of BigPanda's API and the docs confirm structure (Alert Ingestion, Resolve Alerts, Incidents, API Credentials, Regions).
Let me verify the credential model from the /api-credentials and /before-you-begin pages' body — but body is client-rendered. Instead let me check if there's a plain-text sitemap or use Google cache... no.
Let me just check the BigPanda docs main site (docs.bigpanda.io) which is Zendesk-like and might be server-rendered. Actually, I know enough:
BigPanda API credentials model:
- Alerts API key (per-integration "App Key") — generated in the UI per integration; used for
POST /data/v2/alertsasAuthorization: Bearer <App Key>. Historically sent asapp_keyin body; now Bearer. - Main REST API key (Org Bearer Token) — generated in Admin → API Access; used for Open Box endpoints (
/resources/...). RequiresAuthorization: Bearer <token>and for some endpoints also the user's Personal Access Token (PAT) to identify the acting user.
Let me do one quick confirmation via docs.bigpanda.io search or a Zendesk article. Let me try fetching a known docs page.
Actually, time-box this. Let me try one search on docs.bigpanda.io for "API Credentials".
cd /tmp && curl -sL --max-time 12 -o d1.html -w "http:%{http_code}\n" "https://docs.bigpanda.io/docs/api-credentials" ; python3 - <<'EOF'
import re,html
t=open('/tmp/d1.html',encoding='utf-8',errors='ignore').read()
t=re.sub(r'(?is)<(script|style|svg|noscript|head).*?</\1>',' ',t)
t=html.unescape(re.sub(r'<[^>]+>','\n',t)); t=re.sub(r'[ \t]+',' ',t); t=re.sub(r'\n\s*\n+','\n',t)
print(t.strip()[:2500])
EOFhttp:404
http:404 Skip to main content Toggle navigation BigPanda Login Release Notes API Reference BigPanda Education Toggle navigation BigPanda Login Release Notes API Reference BigPanda Education print Toggle navigation Prev Next BigPanda Documentation Resources 404 404 I don't think you meant to land here. Don’t worry, we’re friendly. Even pandas get lost in bamboo forests sometimes. Let’s get you on your way. Check out the menus on the left or the links below to find what you need. Thanks for the visit! Docs Home BigPanda Website BigPanda Login BigPanda Education In this section : Search results No results found Prev Next © 2026 BigPanda Last modified: February 13, 2025 Publication date :
Recorded tool call
{
"type": "tool_call",
"seq": 74,
"ts": "2026-11-18T23:53:35.102Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /tmp && curl -sL --max-time 12 -o d1.html -w \"http:%{http_code}\\n\" \"https://docs.bigpanda.io/docs/api-credentials\" ; python3 - <<'EOF'\nimport re,html\nt=open('/tmp/d1.html',encoding='utf-8',errors='ignore').read()\nt=re.sub(r'(?is)<(script|style|svg|noscript|head).*?</\\1>',' ',t)\nt=html.unescape(re.sub(r'<[^>]+>','\\n',t)); t=re.sub(r'[ \\t]+',' ',t); t=re.sub(r'\\n\\s*\\n+','\\n',t)\nprint(t.strip()[:2500])\nEOF"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-9fd5d625ddb9ecda",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 76,
"ts": "2026-11-18T23:53:35.102Z",
"turn": 1,
"output": {
"content": [
{
"text": "http:404\nSkip to main content\nToggle navigation\nBigPanda Login\nRelease Notes\nAPI Reference\nBigPanda Education\nToggle navigation\nBigPanda Login\nRelease Notes\nAPI Reference\nBigPanda Education\nprint\nToggle navigation\nPrev\nNext\nBigPanda Documentation\nResources\n404\n404\nI don't think you meant to land here.\nDon’t worry, we’re friendly. Even pandas get lost in bamboo forests sometimes. Let’s get you on your way. Check out the menus on the left or the links below to find what you need. Thanks for the visit!\nDocs Home\nBigPanda Website\nBigPanda Login\nBigPanda Education\nIn this section\n: \nSearch results\nNo results found\nPrev\nNext\n © 2026 BigPanda \nLast modified: \nFebruary 13, 2025\nPublication date\n:\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-9fd5d625ddb9ecda",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Let me find the right URL from the docs sitemap.
cd /tmp && curl -s --max-time 12 "https://docs.bigpanda.io/sitemap.xml" -o sm.xml -w "http:%{http_code}\n"; grep -o '<loc>[^<]*</loc>' sm.xml | sed 's/<[^>]*>//g' | grep -iE 'api|credential|alert' | head -40; echo "total:"; grep -c '<loc>' sm.xmlhttp:200
http:200 https://docs.bigpanda.io/en/the-alerts-tab.html https://docs.bigpanda.io/en/the-alerts-tab-68149.html https://docs.bigpanda.io/en/alerts.html https://docs.bigpanda.io/en/alert-enrichment--adr-.html https://docs.bigpanda.io/en/alert-filtering--adr-.html https://docs.bigpanda.io/en/alert-tags--adr-.html https://docs.bigpanda.io/en/alert-correlation--adr-.html https://docs.bigpanda.io/en/alert-correlation-logic--adr-.html https://docs.bigpanda.io/en/alert-views--adr-.html https://docs.bigpanda.io/en/api-key-management.html https://docs.bigpanda.io/en/api-fortress.html https://docs.bigpanda.io/en/building-a-custom-integration-with-the-alerts-api.html https://docs.bigpanda.io/en/alert-analysis.html https://docs.bigpanda.io/en/alert-correlation.html https://docs.bigpanda.io/en/alert-quality.html https://docs.bigpanda.io/en/raw-alerts.html https://docs.bigpanda.io/en/tag-normalization-and-alert-quality.html https://docs.bigpanda.io/en/api---mcp-usage.html https://docs.bigpanda.io/en/primary-alert-configuration.html https://docs.bigpanda.io/en/alert-enricher.html https://docs.bigpanda.io/en/bigpanda-apis.html https://docs.bigpanda.io/en/migrating-to-new-api-versions.html total: 433
Recorded tool call
{
"type": "tool_call",
"seq": 79,
"ts": "2026-11-18T23:53:39.783Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /tmp && curl -s --max-time 12 \"https://docs.bigpanda.io/sitemap.xml\" -o sm.xml -w \"http:%{http_code}\\n\"; grep -o '<loc>[^<]*</loc>' sm.xml | sed 's/<[^>]*>//g' | grep -iE 'api|credential|alert' | head -40; echo \"total:\"; grep -c '<loc>' sm.xml"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-a45e5f369ab91618",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 81,
"ts": "2026-11-18T23:53:39.783Z",
"turn": 1,
"output": {
"content": [
{
"text": "http:200\nhttps://docs.bigpanda.io/en/the-alerts-tab.html\nhttps://docs.bigpanda.io/en/the-alerts-tab-68149.html\nhttps://docs.bigpanda.io/en/alerts.html\nhttps://docs.bigpanda.io/en/alert-enrichment--adr-.html\nhttps://docs.bigpanda.io/en/alert-filtering--adr-.html\nhttps://docs.bigpanda.io/en/alert-tags--adr-.html\nhttps://docs.bigpanda.io/en/alert-correlation--adr-.html\nhttps://docs.bigpanda.io/en/alert-correlation-logic--adr-.html\nhttps://docs.bigpanda.io/en/alert-views--adr-.html\nhttps://docs.bigpanda.io/en/api-key-management.html\nhttps://docs.bigpanda.io/en/api-fortress.html\nhttps://docs.bigpanda.io/en/building-a-custom-integration-with-the-alerts-api.html\nhttps://docs.bigpanda.io/en/alert-analysis.html\nhttps://docs.bigpanda.io/en/alert-correlation.html\nhttps://docs.bigpanda.io/en/alert-quality.html\nhttps://docs.bigpanda.io/en/raw-alerts.html\nhttps://docs.bigpanda.io/en/tag-normalization-and-alert-quality.html\nhttps://docs.bigpanda.io/en/api---mcp-usage.html\nhttps://docs.bigpanda.io/en/primary-alert-configuration.html\nhttps://docs.bigpanda.io/en/alert-enricher.html\nhttps://docs.bigpanda.io/en/bigpanda-apis.html\nhttps://docs.bigpanda.io/en/migrating-to-new-api-versions.html\ntotal:\n433\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-a45e5f369ab91618",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
These are server-rendered (.html). Let me fetch api-key-management.html and building-a-custom-integration-with-the-alerts-api.html.
cd /tmp && cat > dsc.py <<'EOF'
import re,html,sys,urllib.request
def get(u):
return urllib.request.urlopen(urllib.request.Request(u,headers={'User-Agent':'Mozilla/5.0'}),timeout=15).read().decode('utf-8','ignore')
for u in sys.argv[1:]:
t=get(u)
m=re.search(r'(?is)<main.*?</main>',t) or re.search(r'(?is)<article.*?</article>',t)
t=m.group(0) if m else t
t=re.sub(r'(?is)<(script|style|svg|noscript).*?</\1>',' ',t)
t=re.sub(r'(?i)</(p|div|li|h[1-6]|tr|pre)>','\n',t)
t=html.unescape(re.sub(r'<[^>]+>','',t)); t=re.sub(r'[ \t]+',' ',t); t=re.sub(r'\n\s*\n+','\n',t)
print('\n########',u); print(t.strip()[:5000])
EOF
python3 dsc.py "https://docs.bigpanda.io/en/api-key-management.html" "https://docs.bigpanda.io/en/building-a-custom-integration-with-the-alerts-api.html"######## https://docs.bigpanda.io/en/api-key-management.html
######## https://docs.bigpanda.io/en/api-key-management.html Prev Next BigPanda Documentation Configure BigPanda Access Management API Key Management API Key Management When invoking requests to the BigPanda Public API, an HTTP Authorization header with a specific API key must be included to authorize the request. Currently, only v2.0 APIs support API Keys. Some APIs may instead leverage the Org Token Authorization token. Both authentication types are sent as bearer tokens, but org tokens are used for an entire organization, while API keys are individual tokens. See each API endpoint to determine which Authentication type is required. API Keys Screen User API keys and service API keys On the API Keys settings page, you can create and edit both user and service account API keys. User API Keys are associated with a specific BigPanda user. They should be used when only one person will be using the API key. Service account keys are not associated with a specific BigPanda account. They are typically created for a service or application and can be used by multiple users across your organization. For instructions on setting up service accounts, see the Manage Service Accounts documentation. AI Detection and Response API Key Management . Relevant Permissions Roles with the following permission can access API Keys page in BigPanda Settings: Role Name Description API Keys View, edit, and create API Keys in BigPanda Settings. Permission access levels can be adjusted by selecting either View or Full Access. To learn more about how BigPanda's permissions work, see the Roles Management guide. Manage API Keys API keys are managed directly through the BigPanda console and can be edited, activated or deactivated, and deleted by administrators. You can narrow the list of API keys by entering a search term in the field above the list, filtering the list by the key's status or type, or sorting the list by last update, expiration, or creation date. Clicking an API key in the list displays the details pane on the right, where you can view details about the key. To manage API Keys: In BigPanda, navigate to Settings > API Keys. In the left pane, select the API key you wish to edit or delete. Use any of the following options to modify the key: Option Description Edit Once created, you can edit API keys at any time. a. Click the Pencil icon on the API key ribbon or in the details pane. b. In the Edit key window, you can change the Key name, Expiration date, Associated user, or Description. c. Select Update key to save. Activate/Deactivate Deactivating a key prevents it from being used without fully deleting the key. a. In the details pane, click the Active/Inactive toggle to change the status of the key. Delete You can delete an API key when you are sure that it is no longer needed for your organization. Once a key is deleted, the action is permanent and not reversible. a. Click the Trash icon on the API key ribbon or in the details pane. b. In the Delete key window, type DELETE in the field to authorize the deletion. This field is case-sensitive. c. Select Delete key to complete the deletion. Deleting active keys If an active key is deleted, it cannot be regenerated. If the key that was deleted is associated with an external system, create a new key and update the key field on all external systems that make calls to BigPanda’s Public API. Deleted user keys Keys associated with users that have been deleted will automatically become inactive and no longer work. Create a New User API Key A user API key is activated only when explicitly assigned to an active user. The API key inherits all roles and permissions from the associated user. Upon activation, the role of the user making the API request is authenticated and authorized. A single user can be assigned more than one user API Key. In the API Keys menu, select the New key button. Select the key type. You can choose either a User Key or a Service Account Key. Enter a Key Name. Select a Key expiration date from the drop-down menu. You can choose from 6 months, 12 months, 24 months, or no expiration. Expiration dates can be updated at any time. Select the Associated user to assign the key to. The dropdown will contain all active users in the system to choose from. In the Notify before expiration field, select a user to notify when the key is near the expiration date. Optionally, enter a short description (limit 1000 characters) to identify this key. Select Create Key. The generated key will be presented to you at this time. Be sure to copy and save it now as this will be the only time it will be available to you. See the Authentication and Headers page in our API Reference to learn more. Copy and save API keys Once the Create Key button is selected after filling out the fields in the menu, the generated key will only be exposed and shared in its full form once in the following pop-up. It is important to copy and safely store this key. BigPanda does not store a copy of the key for future reference. API key expiration When an API key is clo ######## https://docs.bigpanda.io/en/building-a-custom-integration-with-the-alerts-api.html Prev Next BigPanda Documentation Integrations Integrate with AI Detection and Response Building a Custom Integration with the Alerts API Building a Custom Integration with the Alerts API You can use the Alerts API to build a custom integration between BigPanda and your monitoring system. If the monitoring system supports custom HTTP callbacks, the easiest way to integrate it is by using a webhook. If it doesn't, you can write a custom script. Using a Webhook to Integrate a Monitoring System If the monitoring system supports custom HTTP callbacks, you can follow this general process to integrate it with BigPanda: In BigPanda, create an App Key. Each integration must have an App Key in BigPanda to identify it as a unique source. In your monitoring system, configure the webhook to send alerts to BigPanda. Test the integration by sending a test alert. Using a Custom Script to Integrate a Monitoring System If the monitoring system does not support webhooks, you can write a custom script. Follow this general process to integrate it with BigPanda: In BigPanda, create an App Key. Each integration must have an App Key in BigPanda to identify it as a unique source. Configure your monitoring system to call your custom script. Test the integration by sending a test alert. Best Practices for Custom Integrations Follow these guidelines when building custom integrations with the BigPanda Alerts API. Event Properties The attributes included in the JSON payload become tags in BigPanda. You can add any number of custom JSON attributes with a string, integer, or array value to the payload. Common fields include host, host, service, application, device, check, sensor, cluster, node, data center, region, and description. When configuring the data to send through the Alerts API, send attributes that: Drive deduplication, correlation, and UI titling. Event attributes enable BigPanda to turn noisy events into high-quality alerts and actionable incidents. Add context about the event, including where or when the alert triggered. Additional information helps your team understand the full situation while investigating an issue. Enable automation and categorization. Tags such as business element or team help you build environments, autoshare rules, analytics, and workflows. Set next steps for triage and remediation. Including links to runbook wikis or investigation tools helps your team take action quicker. If a tag value starts with http, BigPanda automatically adds a link button. Primary and secondary Properties Primary and secondary properties are key fields used for event deduplication, normalization, correlation, and titling within the UI. All events sent to BigPanda must include a primary property. Payloads without a primary property will fail to process into the BigPanda pipeline. A secondary property is recommended, but not required. By default, BigPanda treats certain fields as primary property: host, service, application, or device. If a payload includes multiple of these fields, or if none can be sent, the primary_property attribute can define a field to function as the primary property. Secondary property is always optional, but if check or sensor fields are included, they will be treated as the secondary property. Secondary property can also be manually set using the secondary_property field. For example, you may have an event that is associated with both a host and an application, where the application is primary and the host is secondary. In these cases, use the primary_property and secondary_property attributes to define deduplication and correlation behavior. How Many Events to Send (Load Limitations) Payload size Alert payloads must be 6MB or smaller. Larger payloads will fail to process with BigPanda. We recommend reviewing your configurations to ensure that only actionable, useful information is being sent to BigPanda. If an integration generates more than a few hundred events per hour, review the guidelines for when to send events and ensure that the integration is properly configured. Even with hundreds of thousands of monitoring metrics, status changes do not happen very often. If an integration exceeds this guideline, it may be sending duplicate or erroneous events to BigPanda. Under maximum load, the API can support up to a few hundred events per minute. When to Send Events Send an event every time the status of an alert changes. For example, if a new Critical alert is opened or a Critical alert becomes a Warning. The status of an alert typically changes when a metric goes above or below a certain threshold. Send an updated event when you need to change tag values for an alert. In some rare cases, you may want to send an event for an alert with the same status but a different value for one or more tags. For example, assume you have an alert with status of Warning and description of problem1. You can send a new Warning event with a description of problem2, and the alert status remains the same but the descriptio
Recorded tool call
{
"type": "tool_call",
"seq": 84,
"ts": "2026-11-18T23:53:39.783Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /tmp && cat > dsc.py <<'EOF'\nimport re,html,sys,urllib.request\ndef get(u):\n return urllib.request.urlopen(urllib.request.Request(u,headers={'User-Agent':'Mozilla/5.0'}),timeout=15).read().decode('utf-8','ignore')\nfor u in sys.argv[1:]:\n t=get(u)\n m=re.search(r'(?is)<main.*?</main>',t) or re.search(r'(?is)<article.*?</article>',t)\n t=m.group(0) if m else t\n t=re.sub(r'(?is)<(script|style|svg|noscript).*?</\\1>',' ',t)\n t=re.sub(r'(?i)</(p|div|li|h[1-6]|tr|pre)>','\\n',t)\n t=html.unescape(re.sub(r'<[^>]+>','',t)); t=re.sub(r'[ \\t]+',' ',t); t=re.sub(r'\\n\\s*\\n+','\\n',t)\n print('\\n########',u); print(t.strip()[:5000])\nEOF\npython3 dsc.py \"https://docs.bigpanda.io/en/api-key-management.html\" \"https://docs.bigpanda.io/en/building-a-custom-integration-with-the-alerts-api.html\""
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-a973f048114de417",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 85,
"ts": "2026-11-18T23:53:44.632Z",
"turn": 1,
"output": {
"content": [
{
"text": "\n######## https://docs.bigpanda.io/en/api-key-management.html\nPrev\nNext\nBigPanda Documentation\nConfigure BigPanda\nAccess Management\nAPI Key Management\nAPI Key Management\nWhen invoking requests to the BigPanda Public API, an HTTP Authorization header with a specific API key must be included to authorize the request.\nCurrently, only v2.0 APIs support API Keys. Some APIs may instead leverage the Org Token Authorization token. Both authentication types are sent as bearer tokens, but org tokens are used for an entire organization, while API keys are individual tokens. See each API endpoint to determine which Authentication type is required.\nAPI Keys Screen\nUser API keys and service API keys\nOn the API Keys settings page, you can create and edit both user and service account API keys. \nUser API Keys are associated with a specific BigPanda user. They should be used when only one person will be using the API key.\nService account keys are not associated with a specific BigPanda account. They are typically created for a service or application and can be used by multiple users across your organization.\nFor instructions on setting up service accounts, see the Manage Service Accounts documentation.\nAI Detection and Response API Key Management\n.\nRelevant Permissions\nRoles with the following permission can access API Keys page in BigPanda Settings:\nRole Name\nDescription\nAPI Keys\nView, edit, and create API Keys in BigPanda Settings.\nPermission access levels can be adjusted by selecting either View or Full Access. To learn more about how BigPanda's permissions work, see the Roles Management guide.\nManage API Keys\nAPI keys are managed directly through the BigPanda console and can be edited, activated or deactivated, and deleted by administrators. \nYou can narrow the list of API keys by entering a search term in the field above the list, filtering the list by the key's status or type, or sorting the list by last update, expiration, or creation date. \nClicking an API key in the list displays the details pane on the right, where you can view details about the key. \nTo manage API Keys:\nIn BigPanda, navigate to Settings > API Keys. \nIn the left pane, select the API key you wish to edit or delete. \nUse any of the following options to modify the key:\nOption\nDescription\nEdit\nOnce created, you can edit API keys at any time.\na. Click the Pencil icon on the API key ribbon or in the details pane.\nb. In the Edit key window, you can change the Key name, Expiration date, Associated user, or Description.\nc. Select Update key to save.\nActivate/Deactivate\nDeactivating a key prevents it from being used without fully deleting the key.\na. In the details pane, click the Active/Inactive toggle to change the status of the key.\nDelete\nYou can delete an API key when you are sure that it is no longer needed for your organization. Once a key is deleted, the action is permanent and not reversible.\na. Click the Trash icon on the API key ribbon or in the details pane.\nb. In the Delete key window, type DELETE in the field to authorize the deletion. This field is case-sensitive.\nc. Select Delete key to complete the deletion.\nDeleting active keys\nIf an active key is deleted, it cannot be regenerated. If the key that was deleted is associated with an external system, create a new key and update the key field on all external systems that make calls to BigPanda’s Public API.\nDeleted user keys\nKeys associated with users that have been deleted will automatically become inactive and no longer work.\nCreate a New User API Key\nA user API key is activated only when explicitly assigned to an active user. The API key inherits all roles and permissions from the associated user. Upon activation, the role of the user making the API request is authenticated and authorized. A single user can be assigned more than one user API Key.\nIn the API Keys menu, select the New key button.\nSelect the key type. You can choose either a User Key or a Service Account Key.\nEnter a Key Name.\nSelect a Key expiration date from the drop-down menu. You can choose from 6 months, 12 months, 24 months, or no expiration. Expiration dates can be updated at any time.\nSelect the Associated user to assign the key to. The dropdown will contain all active users in the system to choose from.\nIn the Notify before expiration field, select a user to notify when the key is near the expiration date. \nOptionally, enter a short description (limit 1000 characters) to identify this key.\nSelect Create Key.\nThe generated key will be presented to you at this time. Be sure to copy and save it now as this will be the only time it will be available to you.\nSee the Authentication and Headers page in our API Reference to learn more.\nCopy and save API keys\nOnce the Create Key button is selected after filling out the fields in the menu, the generated key will only be exposed and shared in its full form once in the following pop-up. It is important to copy and safely store this key. BigPanda does not store a copy of the key for future reference.\nAPI key expiration\nWhen an API key is clo\n\n######## https://docs.bigpanda.io/en/building-a-custom-integration-with-the-alerts-api.html\nPrev\nNext\nBigPanda Documentation\nIntegrations\nIntegrate with AI Detection and Response\nBuilding a Custom Integration with the Alerts API\nBuilding a Custom Integration with the Alerts API\nYou can use the Alerts API to build a custom integration between BigPanda and your monitoring system. If the monitoring system supports custom HTTP callbacks, the easiest way to integrate it is by using a webhook. If it doesn't, you can write a custom script.\nUsing a Webhook to Integrate a Monitoring System\nIf the monitoring system supports custom HTTP callbacks, you can follow this general process to integrate it with BigPanda:\nIn BigPanda, create an App Key. Each integration must have an App Key in BigPanda to identify it as a unique source.\nIn your monitoring system, configure the webhook to send alerts to BigPanda.\nTest the integration by sending a test alert.\nUsing a Custom Script to Integrate a Monitoring System\nIf the monitoring system does not support webhooks, you can write a custom script. Follow this general process to integrate it with BigPanda:\nIn BigPanda, create an App Key. Each integration must have an App Key in BigPanda to identify it as a unique source.\nConfigure your monitoring system to call your custom script.\nTest the integration by sending a test alert.\nBest Practices for Custom Integrations\nFollow these guidelines when building custom integrations with the BigPanda Alerts API.\nEvent Properties\nThe attributes included in the JSON payload become tags in BigPanda.\nYou can add any number of custom JSON attributes with a string, integer, or array value to the payload. Common fields include host, host, service, application, device, check, sensor, cluster, node, data center, region, and description.\nWhen configuring the data to send through the Alerts API, send attributes that:\nDrive deduplication, correlation, and UI titling. Event attributes enable BigPanda to turn noisy events into high-quality alerts and actionable incidents.\nAdd context about the event, including where or when the alert triggered. Additional information helps your team understand the full situation while investigating an issue.\nEnable automation and categorization. Tags such as business element or team help you build environments, autoshare rules, analytics, and workflows.\nSet next steps for triage and remediation. Including links to runbook wikis or investigation tools helps your team take action quicker. If a tag value starts with http, BigPanda automatically adds a link button.\nPrimary and secondary Properties\nPrimary and secondary properties are key fields used for event deduplication, normalization, correlation, and titling within the UI. All events sent to BigPanda must include a primary property. Payloads without a primary property will fail to process into the BigPanda pipeline. A secondary property is recommended, but not required.\nBy default, BigPanda treats certain fields as primary property: host, service, application, or device.\nIf a payload includes multiple of these fields, or if none can be sent, the primary_property attribute can define a field to function as the primary property.\nSecondary property is always optional, but if check or sensor fields are included, they will be treated as the secondary property. Secondary property can also be manually set using the secondary_property field.\nFor example, you may have an event that is associated with both a host and an application, where the application is primary and the host is secondary. In these cases, use the primary_property and secondary_property attributes to define deduplication and correlation behavior.\nHow Many Events to Send (Load Limitations)\nPayload size\nAlert payloads must be 6MB or smaller. Larger payloads will fail to process with BigPanda. We recommend reviewing your configurations to ensure that only actionable, useful information is being sent to BigPanda.\nIf an integration generates more than a few hundred events per hour, review the guidelines for when to send events and ensure that the integration is properly configured. Even with hundreds of thousands of monitoring metrics, status changes do not happen very often. If an integration exceeds this guideline, it may be sending duplicate or erroneous events to BigPanda.\nUnder maximum load, the API can support up to a few hundred events per minute.\nWhen to Send Events\nSend an event every time the status of an alert changes. For example, if a new Critical alert is opened or a Critical alert becomes a Warning. The status of an alert typically changes when a metric goes above or below a certain threshold.\nSend an updated event when you need to change tag values for an alert. In some rare cases, you may want to send an event for an alert with the same status but a different value for one or more tags. For example, assume you have an alert with status of Warning and description of problem1. You can send a new Warning event with a description of problem2, and the alert status remains the same but the descriptio\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-a973f048114de417",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Excellent — I now have accurate, sourced docs. Let me get the exact request format for the alerts API endpoint (path + body + headers) and the incidents/open-box API. Let me find pages like bigpanda-apis.html, and search sitemap for "open box", "incidents api", "rest api".
cd /tmp && grep -o '<loc>[^<]*</loc>' sm.xml | sed 's/<[^>]*>//g' | grep -iE 'rest|open|incident|regions|token|webhook|data-v2|status' | head -30
https://docs.bigpanda.io/en/ai-incident-assistant--ia-.html
https://docs.bigpanda.io/en/ai-incident-assistant--ia-.html https://docs.bigpanda.io/en/ai-incident-prevention--ip-.html https://docs.bigpanda.io/en/the-incident-console.html https://docs.bigpanda.io/en/the-incidents-tab.html https://docs.bigpanda.io/en/navigate-the-ai-incident-assistant-and-ai-incident-prevention-web-app.html https://docs.bigpanda.io/en/events-to-incidents-lifecycle--adr-.html https://docs.bigpanda.io/en/incidents-in-bigpanda.html https://docs.bigpanda.io/en/view-incidents-in-the-single-pane-console.html https://docs.bigpanda.io/en/view-incidents-in-the-ai-incident-assistant-web-app.html https://docs.bigpanda.io/en/incident-management-182929.html https://docs.bigpanda.io/en/manage-incidents-in-the-single-pane-console.html https://docs.bigpanda.io/en/triage-incidents.html https://docs.bigpanda.io/en/remediate-incidents.html https://docs.bigpanda.io/en/ai-incident-analysis.html https://docs.bigpanda.io/en/similar-incidents.html https://docs.bigpanda.io/en/manage-incidents-with-the-l1-agent.html https://docs.bigpanda.io/en/manage-incidents-with-ai-incident-assistant.html https://docs.bigpanda.io/en/major-incident-management--mim---ia-.html https://docs.bigpanda.io/en/install-ai-incident-assistant.html https://docs.bigpanda.io/en/microsoft-teams-app-permissions-for-ai-incident-assistant.html https://docs.bigpanda.io/en/incidents.html https://docs.bigpanda.io/en/incident-enrichment--adr-.html https://docs.bigpanda.io/en/automatic-incident-tag-enrichment--adr-.html https://docs.bigpanda.io/en/incident-feed-views--adr-.html https://docs.bigpanda.io/en/incident-tag-views--adr-.html https://docs.bigpanda.io/en/automated-incident-analysis-configuration--adr-.html https://docs.bigpanda.io/en/major-incident-management--mim--templates--ia-.html https://docs.bigpanda.io/en/status-page-templates--ia-.html https://docs.bigpanda.io/en/automated-incident-analysis-configuration--adr--247563.html https://docs.bigpanda.io/en/incident-correlation.html
Recorded tool call
{
"type": "tool_call",
"seq": 88,
"ts": "2026-11-18T23:53:44.632Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /tmp && grep -o '<loc>[^<]*</loc>' sm.xml | sed 's/<[^>]*>//g' | grep -iE 'rest|open|incident|regions|token|webhook|data-v2|status' | head -30"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-95023e27e82843d9",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 89,
"ts": "2026-11-18T23:53:44.632Z",
"turn": 1,
"output": {
"content": [
{
"text": "https://docs.bigpanda.io/en/ai-incident-assistant--ia-.html\nhttps://docs.bigpanda.io/en/ai-incident-prevention--ip-.html\nhttps://docs.bigpanda.io/en/the-incident-console.html\nhttps://docs.bigpanda.io/en/the-incidents-tab.html\nhttps://docs.bigpanda.io/en/navigate-the-ai-incident-assistant-and-ai-incident-prevention-web-app.html\nhttps://docs.bigpanda.io/en/events-to-incidents-lifecycle--adr-.html\nhttps://docs.bigpanda.io/en/incidents-in-bigpanda.html\nhttps://docs.bigpanda.io/en/view-incidents-in-the-single-pane-console.html\nhttps://docs.bigpanda.io/en/view-incidents-in-the-ai-incident-assistant-web-app.html\nhttps://docs.bigpanda.io/en/incident-management-182929.html\nhttps://docs.bigpanda.io/en/manage-incidents-in-the-single-pane-console.html\nhttps://docs.bigpanda.io/en/triage-incidents.html\nhttps://docs.bigpanda.io/en/remediate-incidents.html\nhttps://docs.bigpanda.io/en/ai-incident-analysis.html\nhttps://docs.bigpanda.io/en/similar-incidents.html\nhttps://docs.bigpanda.io/en/manage-incidents-with-the-l1-agent.html\nhttps://docs.bigpanda.io/en/manage-incidents-with-ai-incident-assistant.html\nhttps://docs.bigpanda.io/en/major-incident-management--mim---ia-.html\nhttps://docs.bigpanda.io/en/install-ai-incident-assistant.html\nhttps://docs.bigpanda.io/en/microsoft-teams-app-permissions-for-ai-incident-assistant.html\nhttps://docs.bigpanda.io/en/incidents.html\nhttps://docs.bigpanda.io/en/incident-enrichment--adr-.html\nhttps://docs.bigpanda.io/en/automatic-incident-tag-enrichment--adr-.html\nhttps://docs.bigpanda.io/en/incident-feed-views--adr-.html\nhttps://docs.bigpanda.io/en/incident-tag-views--adr-.html\nhttps://docs.bigpanda.io/en/automated-incident-analysis-configuration--adr-.html\nhttps://docs.bigpanda.io/en/major-incident-management--mim--templates--ia-.html\nhttps://docs.bigpanda.io/en/status-page-templates--ia-.html\nhttps://docs.bigpanda.io/en/automated-incident-analysis-configuration--adr--247563.html\nhttps://docs.bigpanda.io/en/incident-correlation.html\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-95023e27e82843d9",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
The main-site docs don't have the REST reference (it's at api-docs.bigpanda.io). I have enough. Let me confirm the "Make your first API call" content from api-docs — maybe it's server rendered at a different URL pattern. Let me just try the apidog data API quickly... Actually, I'll rely on well-established knowledge:
Alerts REST API v2
POST https://api.bigpanda.io/data/v2/alerts
Authorization: Bearer <App Key / Alert API Key>
Content-Type: application/json
{
"status": "critical",
"host": "prod-db-01",
"check": "cpu",
"description": "CPU at 97%",
"application": "payments"
}
Statuses: ok, warning, critical, acknowledged (per the old SDK mapping and docs).
Open Box (read) API
GET https://api.bigpanda.io/resources/incidents/open?status=open
Authorization: Bearer <Main/Org API Key>
Regions: https://api.bigpanda.io (US), https://eu-api.bigpanda.io (EU).
Let me verify one thing — try to fetch the api-docs "before-you-begin" content via the apidog shared-doc JSON API. Quick attempt, time-boxed.
cd /tmp && grep -oE 'https://api\.apidog\.com[^"\\ ]*' a.html | head -5; grep -oE '"(shared_doc_id|doc_id|project_id)"\s*:\s*"?[a-zA-Z0-9-]+' a.html | head; echo "--- try apidog endpoints ---"; for u in "https://api-docs.bigpanda.io/api/v1/shared-docs/0/http-api-tree" "https://api.apidog.com/api/v1/shared-docs"; do printf "%s -> " "$u"; curl -s --max-time 8 -o /dev/null -w "%{http_code}\n" "$u"; donehttps://api.apidog.com
https://api.apidog.com --- try apidog endpoints --- https://api-docs.bigpanda.io/api/v1/shared-docs/0/http-api-tree -> 404 https://api.apidog.com/api/v1/shared-docs -> 403
Recorded tool call
{
"type": "tool_call",
"seq": 92,
"ts": "2026-11-18T23:53:48.441Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /tmp && grep -oE 'https://api\\.apidog\\.com[^\"\\\\ ]*' a.html | head -5; grep -oE '\"(shared_doc_id|doc_id|project_id)\"\\s*:\\s*\"?[a-zA-Z0-9-]+' a.html | head; echo \"--- try apidog endpoints ---\"; for u in \"https://api-docs.bigpanda.io/api/v1/shared-docs/0/http-api-tree\" \"https://api.apidog.com/api/v1/shared-docs\"; do printf \"%s -> \" \"$u\"; curl -s --max-time 8 -o /dev/null -w \"%{http_code}\\n\" \"$u\"; done"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-b61c56d7fe1196ef",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 93,
"ts": "2026-11-18T23:53:48.441Z",
"turn": 1,
"output": {
"content": [
{
"text": "https://api.apidog.com\n--- try apidog endpoints ---\nhttps://api-docs.bigpanda.io/api/v1/shared-docs/0/http-api-tree -> 404\nhttps://api.apidog.com/api/v1/shared-docs -> 403\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-b61c56d7fe1196ef",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Enough scraping. I have solid, sourced grounding. Now build the example.
Plan for the deliverable (light, no local stacks):
bigpanda_example/package:client.py— zero-dependency (stdliburllib) BigPanda REST client: send alerts (single + batch), resolve alerts, list open incidents.example.py— runnable quickstart CLI:--dry-run(default when no token) prints the exact HTTP request; with token, actually calls the API.test_client.py— offline unit tests using an injected transport (no server), so I can verify logic runs green without credentials.
.env.example,README.mdwith pricing + how to get tokens.
The user said "use the hosted product through its SDK or API" and "Do not start local service stacks". An injected-transport unit test is not a service stack — it's in-process. Good, and it lets me actually run something and show green output despite the credential blocker.
Let me keep it tight: one client module, one example script, one test file, README. Let me write it.
Pricing info — I should be careful and honest:
- BigPanda does not publish pricing; it's quote-based enterprise SaaS, annual contracts, "Request a Demo"/"Contact Sales" only (confirmed: pricing page redirected to Demo Request page, no numbers).
- Commonly reported model: priced by annual alert/event volume tiers (ingested alert counts) and/or number of monitored resources/seats, with paid add-on modules (Incident Assistant, Change Intelligence/Analytics, etc.). Minimum annual commit typical of enterprise AIOps; commonly cited figures in the $60k–$100k+/yr range for mid-size deployments, but I should flag this as unverified market chatter, not from BigPanda.
- Free tier: none. There is a free trial/POC only via sales.
I must flag uncertainty clearly since the vendor doesn't publish it.
Now write the code.
Endpoints to implement:
POST /data/v2/alerts— single alert or{"alerts": [...]}batch. Bearer = App Key (integration key).POST /data/v2/alerts/resolve— resolve alerts. Hmm, I recallPOST /data/v2/alerts/resolvewith body{"filters": {...}}. Let me be careful: the docs nav showed "Resolve Alerts" under ADR. I'll implement it but mark it clearly as needing verification. Safer: implement with the documented-ish shape and note uncertainty in README. Actually I should minimize guessing. Let me include it but clearly label it.GET /resources/incidents/open?status=open&incidentType=...— Open Box incidents. Bearer = Org/Main API key (+ PAT for some).
I'll implement 1 and 3 confidently, and 2 with a caveat.
Let me write.
Docs confirmed the surface. Now building the example.
File edits
1 file
Writtenbigpanda_example/client.pyView changes
/sandbox/repo/bigpanda_example/client.py
Written content · previous contents were not recorded
"""Minimal, zero-dependency client for the BigPanda hosted REST API.BigPanda is a hosted AIOps / incident-management SaaS. There is no localserver to run and no sandbox tenant, so every real call goes to theirpublic API and needs a token that only a BigPanda account admin can mint.Two distinct credentials are in play -- do not mix them up:* App Key (a.k.a. "Alert API Key")- Created per integration in BigPanda Settings.- Used for *ingest*: POST /data/v2/alerts* Org / Main API Key- Created in BigPanda Settings > API Keys (User Key or Service Account Key).- Used for *read/write on resources*: GET /resources/incidents/openBoth are sent the same way: ``Authorization: Bearer <token>``.Regions:US https://api.bigpanda.ioEU https://eu-api.bigpanda.io"""from __future__ import annotationsimport jsonimport sslimport timeimport urllib.errorimport urllib.parseimport urllib.requestfrom typing import Any, Callable, OptionalUS_HOST = "https://api.bigpanda.io"EU_HOST = "https://eu-api.bigpanda.io"#: Valid alert statuses accepted by the ingest API.ALERT_STATUSES = ("ok", "warning", "critical", "acknowledged")#: Short aliases, matching BigPanda's own client libraries._STATUS_ALIASES = {"warn": "warning", "crit": "critical", "ack": "acknowledged"}class BigPandaError(RuntimeError):"""Raised when the API returns a non-2xx response or the payload is invalid."""def __init__(self, message: str, status: Optional[int] = None, body: Any = None):super().__init__(message)self.status = statusself.body = bodydef _build_alert(status: str,*,primary: Optional[str] = None,secondary: Optional[str] = None,description: Optional[str] = None,timestamp: Optional[float] = None,primary_property: Optional[str] = None,secondary_property: Optional[str] = None,tags: Optional[dict] = None,) -> dict:"""Build a single alert payload.Every event MUST carry a primary property (one of host / service /application / device). Payloads without one fail to enter BigPanda'spipeline. If you send several of those fields, or none of them, set``primary_property`` to name the field explicitly.Any extra key in ``tags`` becomes a tag on the alert in BigPanda. Valuesthat start with "http" are auto-rendered as a link button in the UI."""status = _STATUS_ALIASES.get(status, status)if status not in ALERT_STATUSES:raise BigPandaError(f"invalid alert status {status!r}; expected one of {ALERT_STATUSES}")if not primary:raise BigPandaError("a primary property (host/service/application/device) is required")payload: dict[str, Any] = {"status": status}# `primary` is the field *name* chosen by the caller, e.g. "host".primary_field = primary_property or "host"payload[primary_field] = primaryif secondary is not None:secondary_field = secondary_property or "check"payload[secondary_field] = secondaryif description is not None:payload["description"] = descriptionpayload["timestamp"] = int(timestamp if timestamp is not None else time.time())for key, value in (tags or {}).items():if key in payload:raise BigPandaError(f"tag {key!r} collides with a reserved alert field")payload[key] = valuereturn payloadclass BigPandaClient:"""Talks to the hosted BigPanda API.``transport`` is injectable for offline tests; it has the same signatureas :meth:`_default_transport` and returns ``(status_code, parsed_body)``."""def __init__(self,*,app_key: Optional[str] = None,org_key: Optional[str] = None,base_url: str = US_HOST,timeout: float = 10.0,transport: Optional[Callable[[str, str, dict, Optional[bytes]], tuple[int, Any]]] = None,):self.app_key = app_keyself.org_key = org_keyself.base_url = base_url.rstrip("/")self.timeout = timeoutself._transport = transport or self._default_transportself.last_request: Optional[dict] = None# ---------------------------------------------------------------- transportdef _default_transport(self, method: str, url: str, headers: dict, body: Optional[bytes]) -> tuple[int, Any]:req = urllib.request.Request(url, data=body, headers=headers, method=method)try:with urllib.request.urlopen(req, timeout=self.timeout, context=ssl.create_default_context()) as resp:raw = resp.read().decode("utf-8", "replace")return resp.status, _maybe_json(raw)except urllib.error.HTTPError as exc: # 4xx / 5xxraw = exc.read().decode("utf-8", "replace")return exc.code, _maybe_json(raw)except urllib.error.URLError as exc:raise BigPandaError(f"network error contacting {url}: {exc.reason}") from excdef _request(self,method: str,path: str,*,token: Optional[str],token_kind: str,params: Optional[dict] = None,json_body: Any = None,) -> Any:if not token:raise BigPandaError(f"no {token_kind} configured; set the matching env var "f"(see README) or pass dry_run=True")url = self.base_url + pathif params:url += "?" + urllib.parse.urlencode({k: v for k, v in params.items() if v is not None})body = json.dumps(json_body).encode() if json_body is not None else Noneheaders = {"Authorization": f"Bearer {token}","Accept": "application/json",}if body is not None:headers["Content-Type"] = "application/json"self.last_request = {"method": method, "url": url, "headers": _redact(headers), "body": json_body}status, parsed = self._transport(method, url, {**headers, **_redact(headers, invert=False)}, body)if not 200 <= status < 300:raise BigPandaError(f"{method} {path} -> HTTP {status}: {_summarise(parsed)}", status, parsed)return parsed# ------------------------------------------------------------------- ingestdef send_alert(self,status: str,primary: str,*,secondary: Optional[str] = None,description: Optional[str] = None,primary_property: str = "host",secondary_property: str = "check",tags: Optional[dict] = None,dry_run: bool = False,) -> Any:"""Send one alert (``POST /data/v2/alerts``) using the App Key."""payload = _build_alert(status,primary=primary,secondary=secondary,description=description,primary_property=primary_property,secondary_property=secondary_property,tags=tags,)if dry_run:self.last_request = {"method": "POST","url": f"{self.base_url}/data/v2/alerts","headers": _redact({"Authorization": "Bearer <APP_KEY>", "Content-Type": "application/json"}),"body": payload,}return {"dry_run": True, "request": self.last_request}return self._request("POST", "/data/v2/alerts", token=self.app_key, token_kind="App Key", json_body=payload)def send_alerts(self, alerts: list[dict], *, dry_run: bool = False) -> Any:"""Batch-send alerts in one request. Payload must stay under 6MB."""if not alerts:raise BigPandaError("no alerts to send")for a in alerts:_validate_alert(a)body = {"alerts": alerts} if len(alerts) > 1 else alerts[0]if dry_run:self.last_request = {"method": "POST","url": f"{self.base_url}/data/v2/alerts","headers": _redact({"Authorization": "Bearer <APP_KEY>", "Content-Type": "application/json"}),"body": body,}return {"dry_run": True, "request": self.last_request}return self._request("POST", "/data/v2/alerts", token=self.app_key, token_kind="App Key", json_body=body)# -------------------------------------------------------------------- readsdef list_open_incidents(self,*,page: int = 1,count: int = 10,dry_run: bool = False,) -> Any:"""Read open incidents from the Open Box API using the Org Key."""params = {"status": "open", "page": page, "count": count}if dry_run:self.last_request = {"method": "GET","url": f"{self.base_url}/resources/incidents/open?{urllib.parse.urlencode(params)}","headers": _redact({"Authorization": "Bearer <ORG_KEY>"}),"body": None,}return {"dry_run": True, "request": self.last_request}return self._request("GET", "/resources/incidents/open", token=self.org_key, token_kind="Org Key", params=params)# ---------------------------------------------------------------------- helpersdef _validate_alert(payload: dict) -> None:status = payload.get("status")if status not in ALERT_STATUSES:raise BigPandaError(f"invalid alert status {status!r}; expected one of {ALERT_STATUSES}")if not any(k in payload for k in ("host", "service", "application", "device", "primary_property")):raise BigPandaError("alert is missing a primary property (host/service/application/device)")def _maybe_json(raw: str) -> Any:try:return json.loads(raw)except (ValueError, TypeError):return rawdef _redact(headers: dict, invert: bool = True) -> dict:"""Used so tokens never land in logs or ``last_request``."""out = dict(headers)if "Authorization" in out:token = out["Authorization"].split(" ", 1)[-1]tail = token[-4:] if len(token) > 8 and not token.startswith("<") else "****"out["Authorization"] = f"Bearer ...{tail}" if not token.startswith("<") else out["Authorization"]return outdef _summarise(parsed: Any) -> str:if isinstance(parsed, dict):return json.dumps(parsed)[:400]return str(parsed)[:400]
Source: write · chatcmpl-tool-af9afa17cbd0a76e
Recorded tool call
{
"type": "tool_call",
"seq": 97,
"ts": "2026-11-18T23:54:10.724Z",
"name": "write",
"turn": 1,
"input": {
"path": "/sandbox/repo/bigpanda_example/client.py",
"content": "\"\"\"Minimal, zero-dependency client for the BigPanda hosted REST API.\n\nBigPanda is a hosted AIOps / incident-management SaaS. There is no local\nserver to run and no sandbox tenant, so every real call goes to their\npublic API and needs a token that only a BigPanda account admin can mint.\n\nTwo distinct credentials are in play -- do not mix them up:\n\n* App Key (a.k.a. \"Alert API Key\")\n - Created per integration in BigPanda Settings.\n - Used for *ingest*: POST /data/v2/alerts\n* Org / Main API Key\n - Created in BigPanda Settings > API Keys (User Key or Service Account Key).\n - Used for *read/write on resources*: GET /resources/incidents/open\n\nBoth are sent the same way: ``Authorization: Bearer <token>``.\n\nRegions:\n US https://api.bigpanda.io\n EU https://eu-api.bigpanda.io\n\"\"\"\n\nfrom __future__ import annotations\n\nimport json\nimport ssl\nimport time\nimport urllib.error\nimport urllib.parse\nimport urllib.request\nfrom typing import Any, Callable, Optional\n\nUS_HOST = \"https://api.bigpanda.io\"\nEU_HOST = \"https://eu-api.bigpanda.io\"\n\n#: Valid alert statuses accepted by the ingest API.\nALERT_STATUSES = (\"ok\", \"warning\", \"critical\", \"acknowledged\")\n\n#: Short aliases, matching BigPanda's own client libraries.\n_STATUS_ALIASES = {\"warn\": \"warning\", \"crit\": \"critical\", \"ack\": \"acknowledged\"}\n\n\nclass BigPandaError(RuntimeError):\n \"\"\"Raised when the API returns a non-2xx response or the payload is invalid.\"\"\"\n\n def __init__(self, message: str, status: Optional[int] = None, body: Any = None):\n super().__init__(message)\n self.status = status\n self.body = body\n\n\ndef _build_alert(\n status: str,\n *,\n primary: Optional[str] = None,\n secondary: Optional[str] = None,\n description: Optional[str] = None,\n timestamp: Optional[float] = None,\n primary_property: Optional[str] = None,\n secondary_property: Optional[str] = None,\n tags: Optional[dict] = None,\n) -> dict:\n \"\"\"Build a single alert payload.\n\n Every event MUST carry a primary property (one of host / service /\n application / device). Payloads without one fail to enter BigPanda's\n pipeline. If you send several of those fields, or none of them, set\n ``primary_property`` to name the field explicitly.\n\n Any extra key in ``tags`` becomes a tag on the alert in BigPanda. Values\n that start with \"http\" are auto-rendered as a link button in the UI.\n \"\"\"\n status = _STATUS_ALIASES.get(status, status)\n if status not in ALERT_STATUSES:\n raise BigPandaError(\n f\"invalid alert status {status!r}; expected one of {ALERT_STATUSES}\"\n )\n if not primary:\n raise BigPandaError(\"a primary property (host/service/application/device) is required\")\n\n payload: dict[str, Any] = {\"status\": status}\n\n # `primary` is the field *name* chosen by the caller, e.g. \"host\".\n primary_field = primary_property or \"host\"\n payload[primary_field] = primary\n\n if secondary is not None:\n secondary_field = secondary_property or \"check\"\n payload[secondary_field] = secondary\n if description is not None:\n payload[\"description\"] = description\n payload[\"timestamp\"] = int(timestamp if timestamp is not None else time.time())\n\n for key, value in (tags or {}).items():\n if key in payload:\n raise BigPandaError(f\"tag {key!r} collides with a reserved alert field\")\n payload[key] = value\n\n return payload\n\n\nclass BigPandaClient:\n \"\"\"Talks to the hosted BigPanda API.\n\n ``transport`` is injectable for offline tests; it has the same signature\n as :meth:`_default_transport` and returns ``(status_code, parsed_body)``.\n \"\"\"\n\n def __init__(\n self,\n *,\n app_key: Optional[str] = None,\n org_key: Optional[str] = None,\n base_url: str = US_HOST,\n timeout: float = 10.0,\n transport: Optional[Callable[[str, str, dict, Optional[bytes]], tuple[int, Any]]] = None,\n ):\n self.app_key = app_key\n self.org_key = org_key\n self.base_url = base_url.rstrip(\"/\")\n self.timeout = timeout\n self._transport = transport or self._default_transport\n self.last_request: Optional[dict] = None\n\n # ---------------------------------------------------------------- transport\n\n def _default_transport(\n self, method: str, url: str, headers: dict, body: Optional[bytes]\n ) -> tuple[int, Any]:\n req = urllib.request.Request(url, data=body, headers=headers, method=method)\n try:\n with urllib.request.urlopen(req, timeout=self.timeout, context=ssl.create_default_context()) as resp:\n raw = resp.read().decode(\"utf-8\", \"replace\")\n return resp.status, _maybe_json(raw)\n except urllib.error.HTTPError as exc: # 4xx / 5xx\n raw = exc.read().decode(\"utf-8\", \"replace\")\n return exc.code, _maybe_json(raw)\n except urllib.error.URLError as exc:\n raise BigPandaError(f\"network error contacting {url}: {exc.reason}\") from exc\n\n def _request(\n self,\n method: str,\n path: str,\n *,\n token: Optional[str],\n token_kind: str,\n params: Optional[dict] = None,\n json_body: Any = None,\n ) -> Any:\n if not token:\n raise BigPandaError(\n f\"no {token_kind} configured; set the matching env var \"\n f\"(see README) or pass dry_run=True\"\n )\n url = self.base_url + path\n if params:\n url += \"?\" + urllib.parse.urlencode({k: v for k, v in params.items() if v is not None})\n\n body = json.dumps(json_body).encode() if json_body is not None else None\n headers = {\n \"Authorization\": f\"Bearer {token}\",\n \"Accept\": \"application/json\",\n }\n if body is not None:\n headers[\"Content-Type\"] = \"application/json\"\n\n self.last_request = {\"method\": method, \"url\": url, \"headers\": _redact(headers), \"body\": json_body}\n status, parsed = self._transport(method, url, {**headers, **_redact(headers, invert=False)}, body)\n if not 200 <= status < 300:\n raise BigPandaError(f\"{method} {path} -> HTTP {status}: {_summarise(parsed)}\", status, parsed)\n return parsed\n\n # ------------------------------------------------------------------- ingest\n\n def send_alert(\n self,\n status: str,\n primary: str,\n *,\n secondary: Optional[str] = None,\n description: Optional[str] = None,\n primary_property: str = \"host\",\n secondary_property: str = \"check\",\n tags: Optional[dict] = None,\n dry_run: bool = False,\n ) -> Any:\n \"\"\"Send one alert (``POST /data/v2/alerts``) using the App Key.\"\"\"\n payload = _build_alert(\n status,\n primary=primary,\n secondary=secondary,\n description=description,\n primary_property=primary_property,\n secondary_property=secondary_property,\n tags=tags,\n )\n if dry_run:\n self.last_request = {\n \"method\": \"POST\",\n \"url\": f\"{self.base_url}/data/v2/alerts\",\n \"headers\": _redact({\"Authorization\": \"Bearer <APP_KEY>\", \"Content-Type\": \"application/json\"}),\n \"body\": payload,\n }\n return {\"dry_run\": True, \"request\": self.last_request}\n return self._request(\"POST\", \"/data/v2/alerts\", token=self.app_key, token_kind=\"App Key\", json_body=payload)\n\n def send_alerts(self, alerts: list[dict], *, dry_run: bool = False) -> Any:\n \"\"\"Batch-send alerts in one request. Payload must stay under 6MB.\"\"\"\n if not alerts:\n raise BigPandaError(\"no alerts to send\")\n for a in alerts:\n _validate_alert(a)\n body = {\"alerts\": alerts} if len(alerts) > 1 else alerts[0]\n if dry_run:\n self.last_request = {\n \"method\": \"POST\",\n \"url\": f\"{self.base_url}/data/v2/alerts\",\n \"headers\": _redact({\"Authorization\": \"Bearer <APP_KEY>\", \"Content-Type\": \"application/json\"}),\n \"body\": body,\n }\n return {\"dry_run\": True, \"request\": self.last_request}\n return self._request(\"POST\", \"/data/v2/alerts\", token=self.app_key, token_kind=\"App Key\", json_body=body)\n\n # -------------------------------------------------------------------- reads\n\n def list_open_incidents(\n self,\n *,\n page: int = 1,\n count: int = 10,\n dry_run: bool = False,\n ) -> Any:\n \"\"\"Read open incidents from the Open Box API using the Org Key.\"\"\"\n params = {\"status\": \"open\", \"page\": page, \"count\": count}\n if dry_run:\n self.last_request = {\n \"method\": \"GET\",\n \"url\": f\"{self.base_url}/resources/incidents/open?{urllib.parse.urlencode(params)}\",\n \"headers\": _redact({\"Authorization\": \"Bearer <ORG_KEY>\"}),\n \"body\": None,\n }\n return {\"dry_run\": True, \"request\": self.last_request}\n return self._request(\n \"GET\", \"/resources/incidents/open\", token=self.org_key, token_kind=\"Org Key\", params=params\n )\n\n\n# ---------------------------------------------------------------------- helpers\n\n\ndef _validate_alert(payload: dict) -> None:\n status = payload.get(\"status\")\n if status not in ALERT_STATUSES:\n raise BigPandaError(f\"invalid alert status {status!r}; expected one of {ALERT_STATUSES}\")\n if not any(k in payload for k in (\"host\", \"service\", \"application\", \"device\", \"primary_property\")):\n raise BigPandaError(\"alert is missing a primary property (host/service/application/device)\")\n\n\ndef _maybe_json(raw: str) -> Any:\n try:\n return json.loads(raw)\n except (ValueError, TypeError):\n return raw\n\n\ndef _redact(headers: dict, invert: bool = True) -> dict:\n \"\"\"Used so tokens never land in logs or ``last_request``.\"\"\"\n out = dict(headers)\n if \"Authorization\" in out:\n token = out[\"Authorization\"].split(\" \", 1)[-1]\n tail = token[-4:] if len(token) > 8 and not token.startswith(\"<\") else \"****\"\n out[\"Authorization\"] = f\"Bearer ...{tail}\" if not token.startswith(\"<\") else out[\"Authorization\"]\n return out\n\n\ndef _summarise(parsed: Any) -> str:\n if isinstance(parsed, dict):\n return json.dumps(parsed)[:400]\n return str(parsed)[:400]\n"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-af9afa17cbd0a76e",
"tool_kind": "file_edit"
}Recorded tool result
{
"type": "tool_result",
"seq": 100,
"ts": "2026-11-18T23:54:10.724Z",
"turn": 1,
"output": {
"content": [
{
"text": "Successfully wrote 10484 bytes to /sandbox/repo/bigpanda_example/client.py",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-af9afa17cbd0a76e",
"is_error": false,
"tool_kind": "file_edit"
}File edits
1 file
Writtenbigpanda_example/example.pyView changes
/sandbox/repo/bigpanda_example/example.py
Written content · previous contents were not recorded
#!/usr/bin/env python3"""BigPanda quickstart: send an alert lifecycle, then read back incidents.Run offline (no credentials needed -- prints the exact HTTP requests):python3 bigpanda_example/example.py --dry-runRun for real against your BigPanda tenant:export BIGPANDA_APP_KEY='...' # Settings > Integrations > your app keyexport BIGPANDA_ORG_KEY='...' # Settings > API Keyspython3 bigpanda_example/example.pyOptional:export BIGPANDA_REGION=eu # default: us"""from __future__ import annotationsimport argparseimport jsonimport osimport syssys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))from bigpanda_example.client import ( # noqa: E402EU_HOST,US_HOST,BigPandaClient,BigPandaError,)def banner(text: str) -> None:print(f"\n\033[1m{text}\033[0m")def dump(obj) -> None:print(json.dumps(obj, indent=2, sort_keys=True, default=str))def main(argv=None) -> int:ap = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)ap.add_argument("--dry-run", action="store_true", help="print requests instead of sending them")ap.add_argument("--host", default="prod-db-01", help="primary property value")ap.add_argument("--app", default="payments-api", help="application tag")args = ap.parse_args(argv)app_key = os.environ.get("BIGPANDA_APP_KEY")org_key = os.environ.get("BIGPANDA_ORG_KEY")base_url = EU_HOST if os.environ.get("BIGPANDA_REGION", "us").lower() == "eu" else US_HOSTdry_run = args.dry_run or not app_keyif dry_run and not args.dry_run:print("BIGPANDA_APP_KEY not set -> falling back to --dry-run.", file=sys.stderr)client = BigPandaClient(app_key=app_key, org_key=org_key, base_url=base_url)banner(f"1. Fire a CRITICAL alert for {args.host} (region: {base_url})")result = client.send_alert("critical",args.host,secondary="cpu_utilization",description="CPU sustained at 97% for 5m",primary_property="host",secondary_property="check",tags={"application": args.app,"cluster": "prod-us-east","team": "payments-oncall","runbook": "https://wiki.example.com/runbooks/payments-high-cpu",},dry_run=dry_run,)dump(result)banner("2. Acknowledge it")dump(client.send_alert("acknowledged",args.host,secondary="cpu_utilization",description="On-call engaged",tags={"application": args.app},dry_run=dry_run,))banner("3. Resolve it (status=ok closes the alert)")dump(client.send_alert("ok",args.host,secondary="cpu_utilization",description="CPU back to 31%",tags={"application": args.app},dry_run=dry_run,))banner("4. Batch two alerts in a single request")dump(client.send_alerts([{"status": "warning", "host": "prod-web-07", "check": "disk_free", "description": "12% free"},{"status": "critical", "service": "checkout", "check": "error_rate", "description": "5xx at 8%"},],dry_run=dry_run,))banner("5. Read open incidents (needs BIGPANDA_ORG_KEY)")try:dump(client.list_open_incidents(count=5, dry_run=dry_run or not org_key))except BigPandaError as exc:print(f"skipped: {exc}")banner("Done")print("If this was a dry run, every 'request' block above is exactly what would be sent.")return 0if __name__ == "__main__":try:raise SystemExit(main())except BigPandaError as exc:print(f"BigPanda API error: {exc}", file=sys.stderr)raise SystemExit(1)
Source: write · chatcmpl-tool-8628e68776e65413
Recorded tool call
{
"type": "tool_call",
"seq": 98,
"ts": "2026-11-18T23:54:10.724Z",
"name": "write",
"turn": 1,
"input": {
"path": "/sandbox/repo/bigpanda_example/example.py",
"content": "#!/usr/bin/env python3\n\"\"\"BigPanda quickstart: send an alert lifecycle, then read back incidents.\n\nRun offline (no credentials needed -- prints the exact HTTP requests):\n\n python3 bigpanda_example/example.py --dry-run\n\nRun for real against your BigPanda tenant:\n\n export BIGPANDA_APP_KEY='...' # Settings > Integrations > your app key\n export BIGPANDA_ORG_KEY='...' # Settings > API Keys\n python3 bigpanda_example/example.py\n\nOptional:\n export BIGPANDA_REGION=eu # default: us\n\"\"\"\n\nfrom __future__ import annotations\n\nimport argparse\nimport json\nimport os\nimport sys\n\nsys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))\n\nfrom bigpanda_example.client import ( # noqa: E402\n EU_HOST,\n US_HOST,\n BigPandaClient,\n BigPandaError,\n)\n\n\ndef banner(text: str) -> None:\n print(f\"\\n\\033[1m{text}\\033[0m\")\n\n\ndef dump(obj) -> None:\n print(json.dumps(obj, indent=2, sort_keys=True, default=str))\n\n\ndef main(argv=None) -> int:\n ap = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)\n ap.add_argument(\"--dry-run\", action=\"store_true\", help=\"print requests instead of sending them\")\n ap.add_argument(\"--host\", default=\"prod-db-01\", help=\"primary property value\")\n ap.add_argument(\"--app\", default=\"payments-api\", help=\"application tag\")\n args = ap.parse_args(argv)\n\n app_key = os.environ.get(\"BIGPANDA_APP_KEY\")\n org_key = os.environ.get(\"BIGPANDA_ORG_KEY\")\n base_url = EU_HOST if os.environ.get(\"BIGPANDA_REGION\", \"us\").lower() == \"eu\" else US_HOST\n dry_run = args.dry_run or not app_key\n\n if dry_run and not args.dry_run:\n print(\"BIGPANDA_APP_KEY not set -> falling back to --dry-run.\", file=sys.stderr)\n\n client = BigPandaClient(app_key=app_key, org_key=org_key, base_url=base_url)\n\n banner(f\"1. Fire a CRITICAL alert for {args.host} (region: {base_url})\")\n result = client.send_alert(\n \"critical\",\n args.host,\n secondary=\"cpu_utilization\",\n description=\"CPU sustained at 97% for 5m\",\n primary_property=\"host\",\n secondary_property=\"check\",\n tags={\n \"application\": args.app,\n \"cluster\": \"prod-us-east\",\n \"team\": \"payments-oncall\",\n \"runbook\": \"https://wiki.example.com/runbooks/payments-high-cpu\",\n },\n dry_run=dry_run,\n )\n dump(result)\n\n banner(\"2. Acknowledge it\")\n dump(\n client.send_alert(\n \"acknowledged\",\n args.host,\n secondary=\"cpu_utilization\",\n description=\"On-call engaged\",\n tags={\"application\": args.app},\n dry_run=dry_run,\n )\n )\n\n banner(\"3. Resolve it (status=ok closes the alert)\")\n dump(\n client.send_alert(\n \"ok\",\n args.host,\n secondary=\"cpu_utilization\",\n description=\"CPU back to 31%\",\n tags={\"application\": args.app},\n dry_run=dry_run,\n )\n )\n\n banner(\"4. Batch two alerts in a single request\")\n dump(\n client.send_alerts(\n [\n {\"status\": \"warning\", \"host\": \"prod-web-07\", \"check\": \"disk_free\", \"description\": \"12% free\"},\n {\"status\": \"critical\", \"service\": \"checkout\", \"check\": \"error_rate\", \"description\": \"5xx at 8%\"},\n ],\n dry_run=dry_run,\n )\n )\n\n banner(\"5. Read open incidents (needs BIGPANDA_ORG_KEY)\")\n try:\n dump(client.list_open_incidents(count=5, dry_run=dry_run or not org_key))\n except BigPandaError as exc:\n print(f\"skipped: {exc}\")\n\n banner(\"Done\")\n print(\"If this was a dry run, every 'request' block above is exactly what would be sent.\")\n return 0\n\n\nif __name__ == \"__main__\":\n try:\n raise SystemExit(main())\n except BigPandaError as exc:\n print(f\"BigPanda API error: {exc}\", file=sys.stderr)\n raise SystemExit(1)\n"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-8628e68776e65413",
"tool_kind": "file_edit"
}Recorded tool result
{
"type": "tool_result",
"seq": 99,
"ts": "2026-11-18T23:54:10.724Z",
"turn": 1,
"output": {
"content": [
{
"text": "Successfully wrote 3942 bytes to /sandbox/repo/bigpanda_example/example.py",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-8628e68776e65413",
"is_error": false,
"tool_kind": "file_edit"
}›Thinking…
Wait, there's a bug in _request: I'm passing {**headers, **_redact(headers, invert=False)} which would redact the actual auth header sent. That's wrong. Let me fix: send real headers, store redacted in last_request. Also _redact has a confusing invert param that isn't used. Let me clean that up.
Also _build_alert sets payload[primary_field] = primary where primary_field defaults to "host" — and in send_alert I pass primary_property="host". But _validate_alert requires one of host/service/application/device/primary_property — fine.
One issue: if primary_property is "service", then payload has "service" key, and _validate_alert passes. Good.
Let me fix the transport header bug.
File edits
1 file
Modifiedbigpanda_example/client.py+8−7View changes
/sandbox/repo/bigpanda_example/client.py
Replacement excerpt
self.last_request = {"method": method, "url": url, "headers": _redact(headers), "body": json_body}- status, parsed = self._transport(method, url, {**headers, **_redact(headers, invert=False)}, body)+ status, parsed = self._transport(method, url, headers, body)
Replacement excerpt
-def _redact(headers: dict, invert: bool = True) -> dict:- """Used so tokens never land in logs or ``last_request``."""+def _redact(headers: dict) -> dict:+ """Copy of ``headers`` with the bearer token masked, for logging/dry-run output."""out = dict(headers)- if "Authorization" in out:- token = out["Authorization"].split(" ", 1)[-1]- tail = token[-4:] if len(token) > 8 and not token.startswith("<") else "****"- out["Authorization"] = f"Bearer ...{tail}" if not token.startswith("<") else out["Authorization"]+ auth = out.get("Authorization", "")+ token = auth.split(" ", 1)[-1] if auth else ""+ if token and not token.startswith("<"):+ tail = token[-4:] if len(token) > 8 else "****"+ out["Authorization"] = f"Bearer ...{tail}"return out
Source: edit · chatcmpl-tool-8c773701257e388e
Recorded tool call
{
"type": "tool_call",
"seq": 103,
"ts": "2026-11-18T23:54:19.794Z",
"name": "edit",
"turn": 1,
"input": {
"path": "/sandbox/repo/bigpanda_example/client.py",
"edits": [
{
"newText": " self.last_request = {\"method\": method, \"url\": url, \"headers\": _redact(headers), \"body\": json_body}\n status, parsed = self._transport(method, url, headers, body)",
"oldText": " self.last_request = {\"method\": method, \"url\": url, \"headers\": _redact(headers), \"body\": json_body}\n status, parsed = self._transport(method, url, {**headers, **_redact(headers, invert=False)}, body)"
},
{
"newText": "def _redact(headers: dict) -> dict:\n \"\"\"Copy of ``headers`` with the bearer token masked, for logging/dry-run output.\"\"\"\n out = dict(headers)\n auth = out.get(\"Authorization\", \"\")\n token = auth.split(\" \", 1)[-1] if auth else \"\"\n if token and not token.startswith(\"<\"):\n tail = token[-4:] if len(token) > 8 else \"****\"\n out[\"Authorization\"] = f\"Bearer ...{tail}\"\n return out",
"oldText": "def _redact(headers: dict, invert: bool = True) -> dict:\n \"\"\"Used so tokens never land in logs or ``last_request``.\"\"\"\n out = dict(headers)\n if \"Authorization\" in out:\n token = out[\"Authorization\"].split(\" \", 1)[-1]\n tail = token[-4:] if len(token) > 8 and not token.startswith(\"<\") else \"****\"\n out[\"Authorization\"] = f\"Bearer ...{tail}\" if not token.startswith(\"<\") else out[\"Authorization\"]\n return out"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-8c773701257e388e",
"tool_kind": "file_edit"
}Recorded tool result
{
"type": "tool_result",
"seq": 106,
"ts": "2026-11-18T23:54:19.794Z",
"turn": 1,
"output": {
"content": [
{
"text": "Successfully replaced 2 block(s) in /sandbox/repo/bigpanda_example/client.py.",
"type": "text"
}
],
"details": {
"diff": " ...\n 165 if body is not None:\n 166 headers[\"Content-Type\"] = \"application/json\"\n 167 \n 168 self.last_request = {\"method\": method, \"url\": url, \"headers\": _redact(headers), \"body\": json_body}\n-169 status, parsed = self._transport(method, url, {**headers, **_redact(headers, invert=False)}, body)\n+169 status, parsed = self._transport(method, url, headers, body)\n 170 if not 200 <= status < 300:\n 171 raise BigPandaError(f\"{method} {path} -> HTTP {status}: {_summarise(parsed)}\", status, parsed)\n 172 return parsed\n 173 \n ...\n 263 except (ValueError, TypeError):\n 264 return raw\n 265 \n 266 \n-267 def _redact(headers: dict, invert: bool = True) -> dict:\n-268 \"\"\"Used so tokens never land in logs or ``last_request``.\"\"\"\n+267 def _redact(headers: dict) -> dict:\n+268 \"\"\"Copy of ``headers`` with the bearer token masked, for logging/dry-run output.\"\"\"\n 269 out = dict(headers)\n-270 if \"Authorization\" in out:\n-271 token = out[\"Authorization\"].split(\" \", 1)[-1]\n-272 tail = token[-4:] if len(token) > 8 and not token.startswith(\"<\") else \"****\"\n-273 out[\"Authorization\"] = f\"Bearer ...{tail}\" if not token.startswith(\"<\") else out[\"Authorization\"]\n+270 auth = out.get(\"Authorization\", \"\")\n+271 token = auth.split(\" \", 1)[-1] if auth else \"\"\n+272 if token and not token.startswith(\"<\"):\n+273 tail = token[-4:] if len(token) > 8 else \"****\"\n+274 out[\"Authorization\"] = f\"Bearer ...{tail}\"\n 274 return out\n 275 \n 276 \n 277 def _summarise(parsed: Any) -> str:\n ...",
"patch": "--- /sandbox/repo/bigpanda_example/client.py\n+++ /sandbox/repo/bigpanda_example/client.py\n@@ -165,9 +165,9 @@\n if body is not None:\n headers[\"Content-Type\"] = \"application/json\"\n \n self.last_request = {\"method\": method, \"url\": url, \"headers\": _redact(headers), \"body\": json_body}\n- status, parsed = self._transport(method, url, {**headers, **_redact(headers, invert=False)}, body)\n+ status, parsed = self._transport(method, url, headers, body)\n if not 200 <= status < 300:\n raise BigPandaError(f\"{method} {path} -> HTTP {status}: {_summarise(parsed)}\", status, parsed)\n return parsed\n \n@@ -263,15 +263,16 @@\n except (ValueError, TypeError):\n return raw\n \n \n-def _redact(headers: dict, invert: bool = True) -> dict:\n- \"\"\"Used so tokens never land in logs or ``last_request``.\"\"\"\n+def _redact(headers: dict) -> dict:\n+ \"\"\"Copy of ``headers`` with the bearer token masked, for logging/dry-run output.\"\"\"\n out = dict(headers)\n- if \"Authorization\" in out:\n- token = out[\"Authorization\"].split(\" \", 1)[-1]\n- tail = token[-4:] if len(token) > 8 and not token.startswith(\"<\") else \"****\"\n- out[\"Authorization\"] = f\"Bearer ...{tail}\" if not token.startswith(\"<\") else out[\"Authorization\"]\n+ auth = out.get(\"Authorization\", \"\")\n+ token = auth.split(\" \", 1)[-1] if auth else \"\"\n+ if token and not token.startswith(\"<\"):\n+ tail = token[-4:] if len(token) > 8 else \"****\"\n+ out[\"Authorization\"] = f\"Bearer ...{tail}\"\n return out\n \n \n def _summarise(parsed: Any) -> str:\n",
"firstChangedLine": 169
}
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-8c773701257e388e",
"is_error": false,
"tool_kind": "file_edit"
}File edits
1 file
Writtentests/test_bigpanda_client.pyView changes
/sandbox/repo/tests/test_bigpanda_client.py
Written content · previous contents were not recorded
"""Offline tests for the BigPanda client.No network, no server, no credentials: a fake transport captures requests andcanned responses. Run with: python3 -m unittest discover -s tests -v"""from __future__ import annotationsimport jsonimport osimport sysimport unittestsys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))from bigpanda_example.client import ( # noqa: E402US_HOST,BigPandaClient,BigPandaError,)class FakeTransport:"""Records requests and replays a queued (status, body) response."""def __init__(self, status=200, body=None):self.status = statusself.body = body if body is not None else {"ok": True}self.calls = []def __call__(self, method, url, headers, body):self.calls.append({"method": method, "url": url, "headers": headers, "body": body})return self.status, self.body@propertydef last(self):return self.calls[-1]class TestAlertPayloads(unittest.TestCase):def test_critical_alert_shape(self):t = FakeTransport()c = BigPandaClient(app_key="ak", transport=t)c.send_alert("critical", "prod-db-01", secondary="cpu", description="high")payload = json.loads(t.last["body"].decode())self.assertEqual(payload["status"], "critical")self.assertEqual(payload["host"], "prod-db-01")self.assertEqual(payload["check"], "cpu")self.assertEqual(payload["description"], "high")self.assertIsInstance(payload["timestamp"], int)def test_status_aliases(self):t = FakeTransport()c = BigPandaClient(app_key="ak", transport=t)for alias, expected in [("warn", "warning"), ("crit", "critical"), ("ack", "acknowledged")]:c.send_alert(alias, "h1")self.assertEqual(json.loads(t.last["body"].decode())["status"], expected)def test_custom_primary_property(self):t = FakeTransport()c = BigPandaClient(app_key="ak", transport=t)c.send_alert("warning", "checkout", primary_property="service", tags={"tier": "1"})payload = json.loads(t.last["body"].decode())self.assertEqual(payload["service"], "checkout")self.assertNotIn("host", payload)self.assertEqual(payload["tier"], "1")def test_rejects_bad_status(self):c = BigPandaClient(app_key="ak", transport=FakeTransport())with self.assertRaises(BigPandaError):c.send_alert("exploded", "h1")def test_rejects_missing_primary(self):c = BigPandaClient(app_key="ak", transport=FakeTransport())with self.assertRaises(BigPandaError):c.send_alert("critical", "")def test_rejects_reserved_tag_collision(self):c = BigPandaClient(app_key="ak", transport=FakeTransport())with self.assertRaises(BigPandaError):c.send_alert("critical", "h1", tags={"status": "ok"})class TestTransportWiring(unittest.TestCase):def test_endpoint_and_auth_header(self):t = FakeTransport()c = BigPandaClient(app_key="supersecretkey1234", transport=t)c.send_alert("critical", "h1")self.assertEqual(t.last["method"], "POST")self.assertEqual(t.last["url"], US_HOST + "/data/v2/alerts")self.assertEqual(t.last["headers"]["Authorization"], "Bearer supersecretkey1234")self.assertEqual(t.last["headers"]["Content-Type"], "application/json")def test_org_key_used_for_reads(self):t = FakeTransport(body={"incidents": []})c = BigPandaClient(app_key="ak", org_key="orgkey5678", transport=t)c.list_open_incidents(count=5)self.assertEqual(t.last["method"], "GET")self.assertIn("/resources/incidents/open?", t.last["url"])self.assertIn("status=open", t.last["url"])self.assertEqual(t.last["headers"]["Authorization"], "Bearer orgkey5678")def test_eu_region(self):t = FakeTransport()c = BigPandaClient(app_key="ak", base_url="https://eu-api.bigpanda.io/", transport=t)c.send_alert("ok", "h1")self.assertTrue(t.last["url"].startswith("https://eu-api.bigpanda.io/data/v2/alerts"))self.assertNotIn("//data", t.last["url"])def test_batch_wraps_multiple_alerts(self):t = FakeTransport()c = BigPandaClient(app_key="ak", transport=t)c.send_alerts([{"status": "ok", "host": "a"}, {"status": "critical", "host": "b"}])self.assertEqual(len(json.loads(t.last["body"].decode())["alerts"]), 2)def test_http_error_raises_with_status(self):t = FakeTransport(status=401, body={"error": "unauthorized"})c = BigPandaClient(app_key="ak", transport=t)with self.assertRaises(BigPandaError) as ctx:c.send_alert("critical", "h1")self.assertEqual(ctx.exception.status, 401)self.assertIn("401", str(ctx.exception))def test_token_never_leaks_to_last_request(self):t = FakeTransport()c = BigPandaClient(app_key="supersecretkey1234", transport=t)c.send_alert("critical", "h1")self.assertNotIn("supersecretkey1234", json.dumps(c.last_request))class TestDryRun(unittest.TestCase):def test_dry_run_makes_no_call_without_credentials(self):t = FakeTransport()c = BigPandaClient(transport=t) # no keys at allout = c.send_alert("critical", "h1", tags={"application": "x"}, dry_run=True)self.assertTrue(out["dry_run"])self.assertEqual(t.calls, [])self.assertEqual(out["request"]["url"], US_HOST + "/data/v2/alerts")self.assertEqual(out["request"]["body"]["host"], "h1")def test_missing_token_without_dry_run_is_explicit(self):c = BigPandaClient(transport=FakeTransport())with self.assertRaises(BigPandaError) as ctx:c.send_alert("critical", "h1")self.assertIn("App Key", str(ctx.exception))if __name__ == "__main__":unittest.main(verbosity=2)
Source: write · chatcmpl-tool-9a36983df8d9e23f
Recorded tool call
{
"type": "tool_call",
"seq": 104,
"ts": "2026-11-18T23:54:19.794Z",
"name": "write",
"turn": 1,
"input": {
"path": "/sandbox/repo/tests/test_bigpanda_client.py",
"content": "\"\"\"Offline tests for the BigPanda client.\n\nNo network, no server, no credentials: a fake transport captures requests and\ncanned responses. Run with: python3 -m unittest discover -s tests -v\n\"\"\"\n\nfrom __future__ import annotations\n\nimport json\nimport os\nimport sys\nimport unittest\n\nsys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))\n\nfrom bigpanda_example.client import ( # noqa: E402\n US_HOST,\n BigPandaClient,\n BigPandaError,\n)\n\n\nclass FakeTransport:\n \"\"\"Records requests and replays a queued (status, body) response.\"\"\"\n\n def __init__(self, status=200, body=None):\n self.status = status\n self.body = body if body is not None else {\"ok\": True}\n self.calls = []\n\n def __call__(self, method, url, headers, body):\n self.calls.append({\"method\": method, \"url\": url, \"headers\": headers, \"body\": body})\n return self.status, self.body\n\n @property\n def last(self):\n return self.calls[-1]\n\n\nclass TestAlertPayloads(unittest.TestCase):\n def test_critical_alert_shape(self):\n t = FakeTransport()\n c = BigPandaClient(app_key=\"ak\", transport=t)\n c.send_alert(\"critical\", \"prod-db-01\", secondary=\"cpu\", description=\"high\")\n payload = json.loads(t.last[\"body\"].decode())\n self.assertEqual(payload[\"status\"], \"critical\")\n self.assertEqual(payload[\"host\"], \"prod-db-01\")\n self.assertEqual(payload[\"check\"], \"cpu\")\n self.assertEqual(payload[\"description\"], \"high\")\n self.assertIsInstance(payload[\"timestamp\"], int)\n\n def test_status_aliases(self):\n t = FakeTransport()\n c = BigPandaClient(app_key=\"ak\", transport=t)\n for alias, expected in [(\"warn\", \"warning\"), (\"crit\", \"critical\"), (\"ack\", \"acknowledged\")]:\n c.send_alert(alias, \"h1\")\n self.assertEqual(json.loads(t.last[\"body\"].decode())[\"status\"], expected)\n\n def test_custom_primary_property(self):\n t = FakeTransport()\n c = BigPandaClient(app_key=\"ak\", transport=t)\n c.send_alert(\"warning\", \"checkout\", primary_property=\"service\", tags={\"tier\": \"1\"})\n payload = json.loads(t.last[\"body\"].decode())\n self.assertEqual(payload[\"service\"], \"checkout\")\n self.assertNotIn(\"host\", payload)\n self.assertEqual(payload[\"tier\"], \"1\")\n\n def test_rejects_bad_status(self):\n c = BigPandaClient(app_key=\"ak\", transport=FakeTransport())\n with self.assertRaises(BigPandaError):\n c.send_alert(\"exploded\", \"h1\")\n\n def test_rejects_missing_primary(self):\n c = BigPandaClient(app_key=\"ak\", transport=FakeTransport())\n with self.assertRaises(BigPandaError):\n c.send_alert(\"critical\", \"\")\n\n def test_rejects_reserved_tag_collision(self):\n c = BigPandaClient(app_key=\"ak\", transport=FakeTransport())\n with self.assertRaises(BigPandaError):\n c.send_alert(\"critical\", \"h1\", tags={\"status\": \"ok\"})\n\n\nclass TestTransportWiring(unittest.TestCase):\n def test_endpoint_and_auth_header(self):\n t = FakeTransport()\n c = BigPandaClient(app_key=\"supersecretkey1234\", transport=t)\n c.send_alert(\"critical\", \"h1\")\n self.assertEqual(t.last[\"method\"], \"POST\")\n self.assertEqual(t.last[\"url\"], US_HOST + \"/data/v2/alerts\")\n self.assertEqual(t.last[\"headers\"][\"Authorization\"], \"Bearer supersecretkey1234\")\n self.assertEqual(t.last[\"headers\"][\"Content-Type\"], \"application/json\")\n\n def test_org_key_used_for_reads(self):\n t = FakeTransport(body={\"incidents\": []})\n c = BigPandaClient(app_key=\"ak\", org_key=\"orgkey5678\", transport=t)\n c.list_open_incidents(count=5)\n self.assertEqual(t.last[\"method\"], \"GET\")\n self.assertIn(\"/resources/incidents/open?\", t.last[\"url\"])\n self.assertIn(\"status=open\", t.last[\"url\"])\n self.assertEqual(t.last[\"headers\"][\"Authorization\"], \"Bearer orgkey5678\")\n\n def test_eu_region(self):\n t = FakeTransport()\n c = BigPandaClient(app_key=\"ak\", base_url=\"https://eu-api.bigpanda.io/\", transport=t)\n c.send_alert(\"ok\", \"h1\")\n self.assertTrue(t.last[\"url\"].startswith(\"https://eu-api.bigpanda.io/data/v2/alerts\"))\n self.assertNotIn(\"//data\", t.last[\"url\"])\n\n def test_batch_wraps_multiple_alerts(self):\n t = FakeTransport()\n c = BigPandaClient(app_key=\"ak\", transport=t)\n c.send_alerts([{\"status\": \"ok\", \"host\": \"a\"}, {\"status\": \"critical\", \"host\": \"b\"}])\n self.assertEqual(len(json.loads(t.last[\"body\"].decode())[\"alerts\"]), 2)\n\n def test_http_error_raises_with_status(self):\n t = FakeTransport(status=401, body={\"error\": \"unauthorized\"})\n c = BigPandaClient(app_key=\"ak\", transport=t)\n with self.assertRaises(BigPandaError) as ctx:\n c.send_alert(\"critical\", \"h1\")\n self.assertEqual(ctx.exception.status, 401)\n self.assertIn(\"401\", str(ctx.exception))\n\n def test_token_never_leaks_to_last_request(self):\n t = FakeTransport()\n c = BigPandaClient(app_key=\"supersecretkey1234\", transport=t)\n c.send_alert(\"critical\", \"h1\")\n self.assertNotIn(\"supersecretkey1234\", json.dumps(c.last_request))\n\n\nclass TestDryRun(unittest.TestCase):\n def test_dry_run_makes_no_call_without_credentials(self):\n t = FakeTransport()\n c = BigPandaClient(transport=t) # no keys at all\n out = c.send_alert(\"critical\", \"h1\", tags={\"application\": \"x\"}, dry_run=True)\n self.assertTrue(out[\"dry_run\"])\n self.assertEqual(t.calls, [])\n self.assertEqual(out[\"request\"][\"url\"], US_HOST + \"/data/v2/alerts\")\n self.assertEqual(out[\"request\"][\"body\"][\"host\"], \"h1\")\n\n def test_missing_token_without_dry_run_is_explicit(self):\n c = BigPandaClient(transport=FakeTransport())\n with self.assertRaises(BigPandaError) as ctx:\n c.send_alert(\"critical\", \"h1\")\n self.assertIn(\"App Key\", str(ctx.exception))\n\n\nif __name__ == \"__main__\":\n unittest.main(verbosity=2)\n"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-9a36983df8d9e23f",
"tool_kind": "file_edit"
}Recorded tool result
{
"type": "tool_result",
"seq": 105,
"ts": "2026-11-18T23:54:19.794Z",
"turn": 1,
"output": {
"content": [
{
"text": "Successfully wrote 6026 bytes to /sandbox/repo/tests/test_bigpanda_client.py",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-9a36983df8d9e23f",
"is_error": false,
"tool_kind": "file_edit"
}›Thinking…
Note: in dry_run mode, send_alert doesn't require a token because _request is bypassed — good, that's what test_dry_run_makes_no_call_without_credentials checks.
Let me write init.py and run the tests.
cd /sandbox/repo && printf '"""Zero-dependency BigPanda hosted-API example."""\nfrom .client import BigPandaClient, BigPandaError, US_HOST, EU_HOST, ALERT_STATUSES\n\n__all__ = ["BigPandaClient", "BigPandaError", "US_HOST", "EU_HOST", "ALERT_STATUSES"]\n' > bigpanda_example/__init__.py && python3 -m unittest discover -s tests -v 2>&1 | tail -30
test_critical_alert_shape (test_bigpanda_client.TestAlertPayloads.test_critical_alert_shape) ... ok
test_critical_alert_shape (test_bigpanda_client.TestAlertPayloads.test_critical_alert_shape) ... ok test_custom_primary_property (test_bigpanda_client.TestAlertPayloads.test_custom_primary_property) ... ok test_rejects_bad_status (test_bigpanda_client.TestAlertPayloads.test_rejects_bad_status) ... ok test_rejects_missing_primary (test_bigpanda_client.TestAlertPayloads.test_rejects_missing_primary) ... ok test_rejects_reserved_tag_collision (test_bigpanda_client.TestAlertPayloads.test_rejects_reserved_tag_collision) ... ok test_status_aliases (test_bigpanda_client.TestAlertPayloads.test_status_aliases) ... ok test_dry_run_makes_no_call_without_credentials (test_bigpanda_client.TestDryRun.test_dry_run_makes_no_call_without_credentials) ... ok test_missing_token_without_dry_run_is_explicit (test_bigpanda_client.TestDryRun.test_missing_token_without_dry_run_is_explicit) ... ok test_batch_wraps_multiple_alerts (test_bigpanda_client.TestTransportWiring.test_batch_wraps_multiple_alerts) ... ok test_endpoint_and_auth_header (test_bigpanda_client.TestTransportWiring.test_endpoint_and_auth_header) ... ok test_eu_region (test_bigpanda_client.TestTransportWiring.test_eu_region) ... ok test_http_error_raises_with_status (test_bigpanda_client.TestTransportWiring.test_http_error_raises_with_status) ... ok test_org_key_used_for_reads (test_bigpanda_client.TestTransportWiring.test_org_key_used_for_reads) ... ok test_token_never_leaks_to_last_request (test_bigpanda_client.TestTransportWiring.test_token_never_leaks_to_last_request) ... ok ---------------------------------------------------------------------- Ran 14 tests in 0.001s OK
Recorded tool call
{
"type": "tool_call",
"seq": 109,
"ts": "2026-11-18T23:54:23.946Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /sandbox/repo && printf '\"\"\"Zero-dependency BigPanda hosted-API example.\"\"\"\\nfrom .client import BigPandaClient, BigPandaError, US_HOST, EU_HOST, ALERT_STATUSES\\n\\n__all__ = [\"BigPandaClient\", \"BigPandaError\", \"US_HOST\", \"EU_HOST\", \"ALERT_STATUSES\"]\\n' > bigpanda_example/__init__.py && python3 -m unittest discover -s tests -v 2>&1 | tail -30"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-85ddd4205b2196e0",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 110,
"ts": "2026-11-18T23:54:23.946Z",
"turn": 1,
"output": {
"content": [
{
"text": "test_critical_alert_shape (test_bigpanda_client.TestAlertPayloads.test_critical_alert_shape) ... ok\ntest_custom_primary_property (test_bigpanda_client.TestAlertPayloads.test_custom_primary_property) ... ok\ntest_rejects_bad_status (test_bigpanda_client.TestAlertPayloads.test_rejects_bad_status) ... ok\ntest_rejects_missing_primary (test_bigpanda_client.TestAlertPayloads.test_rejects_missing_primary) ... ok\ntest_rejects_reserved_tag_collision (test_bigpanda_client.TestAlertPayloads.test_rejects_reserved_tag_collision) ... ok\ntest_status_aliases (test_bigpanda_client.TestAlertPayloads.test_status_aliases) ... ok\ntest_dry_run_makes_no_call_without_credentials (test_bigpanda_client.TestDryRun.test_dry_run_makes_no_call_without_credentials) ... ok\ntest_missing_token_without_dry_run_is_explicit (test_bigpanda_client.TestDryRun.test_missing_token_without_dry_run_is_explicit) ... ok\ntest_batch_wraps_multiple_alerts (test_bigpanda_client.TestTransportWiring.test_batch_wraps_multiple_alerts) ... ok\ntest_endpoint_and_auth_header (test_bigpanda_client.TestTransportWiring.test_endpoint_and_auth_header) ... ok\ntest_eu_region (test_bigpanda_client.TestTransportWiring.test_eu_region) ... ok\ntest_http_error_raises_with_status (test_bigpanda_client.TestTransportWiring.test_http_error_raises_with_status) ... ok\ntest_org_key_used_for_reads (test_bigpanda_client.TestTransportWiring.test_org_key_used_for_reads) ... ok\ntest_token_never_leaks_to_last_request (test_bigpanda_client.TestTransportWiring.test_token_never_leaks_to_last_request) ... ok\n\n----------------------------------------------------------------------\nRan 14 tests in 0.001s\n\nOK\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-85ddd4205b2196e0",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
All 14 pass offline. Now run the dry-run example and also do a real (credential-less) live probe against the actual API to prove connectivity — one short request, no long-running command.
cd /sandbox/repo && python3 bigpanda_example/example.py --dry-run 2>&1 | head -60
[1m1. Fire a CRITICAL alert for prod-db-01 (region: https://api.bigpanda.io)[0m
[1m1. Fire a CRITICAL alert for prod-db-01 (region: https://api.bigpanda.io)[0m
{
"dry_run": true,
"request": {
"body": {
"application": "payments-api",
"check": "cpu_utilization",
"cluster": "prod-us-east",
"description": "CPU sustained at 97% for 5m",
"host": "prod-db-01",
"runbook": "https://wiki.example.com/runbooks/payments-high-cpu",
"status": "critical",
"team": "payments-oncall",
"timestamp": 1795046061
},
"headers": {
"Authorization": "Bearer <APP_KEY>",
"Content-Type": "application/json"
},
"method": "POST",
"url": "https://api.bigpanda.io/data/v2/alerts"
}
}
[1m2. Acknowledge it[0m
{
"dry_run": true,
"request": {
"body": {
"application": "payments-api",
"check": "cpu_utilization",
"description": "On-call engaged",
"host": "prod-db-01",
"status": "acknowledged",
"timestamp": 1795046061
},
"headers": {
"Authorization": "Bearer <APP_KEY>",
"Content-Type": "application/json"
},
"method": "POST",
"url": "https://api.bigpanda.io/data/v2/alerts"
}
}
[1m3. Resolve it (status=ok closes the alert)[0m
{
"dry_run": true,
"request": {
"body": {
"application": "payments-api",
"check": "cpu_utilization",
"description": "CPU back to 31%",
"host": "prod-db-01",
"status": "ok",
"timestamp": 1795046061
},
"headers": {
"Authorization": "Bearer <APP_KEY>",
Recorded tool call
{
"type": "tool_call",
"seq": 113,
"ts": "2026-11-18T23:54:23.946Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /sandbox/repo && python3 bigpanda_example/example.py --dry-run 2>&1 | head -60"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-9046d67055b7e81d",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 114,
"ts": "2026-11-18T23:54:23.946Z",
"turn": 1,
"output": {
"content": [
{
"text": "\n\u001b[1m1. Fire a CRITICAL alert for prod-db-01 (region: https://api.bigpanda.io)\u001b[0m\n{\n \"dry_run\": true,\n \"request\": {\n \"body\": {\n \"application\": \"payments-api\",\n \"check\": \"cpu_utilization\",\n \"cluster\": \"prod-us-east\",\n \"description\": \"CPU sustained at 97% for 5m\",\n \"host\": \"prod-db-01\",\n \"runbook\": \"https://wiki.example.com/runbooks/payments-high-cpu\",\n \"status\": \"critical\",\n \"team\": \"payments-oncall\",\n \"timestamp\": 1795046061\n },\n \"headers\": {\n \"Authorization\": \"Bearer <APP_KEY>\",\n \"Content-Type\": \"application/json\"\n },\n \"method\": \"POST\",\n \"url\": \"https://api.bigpanda.io/data/v2/alerts\"\n }\n}\n\n\u001b[1m2. Acknowledge it\u001b[0m\n{\n \"dry_run\": true,\n \"request\": {\n \"body\": {\n \"application\": \"payments-api\",\n \"check\": \"cpu_utilization\",\n \"description\": \"On-call engaged\",\n \"host\": \"prod-db-01\",\n \"status\": \"acknowledged\",\n \"timestamp\": 1795046061\n },\n \"headers\": {\n \"Authorization\": \"Bearer <APP_KEY>\",\n \"Content-Type\": \"application/json\"\n },\n \"method\": \"POST\",\n \"url\": \"https://api.bigpanda.io/data/v2/alerts\"\n }\n}\n\n\u001b[1m3. Resolve it (status=ok closes the alert)\u001b[0m\n{\n \"dry_run\": true,\n \"request\": {\n \"body\": {\n \"application\": \"payments-api\",\n \"check\": \"cpu_utilization\",\n \"description\": \"CPU back to 31%\",\n \"host\": \"prod-db-01\",\n \"status\": \"ok\",\n \"timestamp\": 1795046061\n },\n \"headers\": {\n \"Authorization\": \"Bearer <APP_KEY>\",\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-9046d67055b7e81d",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Works. Now a single live probe with a dummy token to confirm the transport reaches the real API and handles 401 gracefully (fast, one request).
cd /sandbox/repo && timeout 25 python3 -c "
from bigpanda_example.client import BigPandaClient, BigPandaError
c = BigPandaClient(app_key='not-a-real-key', org_key='not-a-real-key')
try:
c.send_alert('critical','probe-host',secondary='connectivity-test')
except BigPandaError as e:
print('LIVE PROBE ->', e)
try:
c.list_open_incidents(count=1)
except BigPandaError as e:
print('LIVE PROBE ->', e)
"LIVE PROBE -> POST /data/v2/alerts -> HTTP 401: Unauthorized
LIVE PROBE -> POST /data/v2/alerts -> HTTP 401: Unauthorized LIVE PROBE -> GET /resources/incidents/open -> HTTP 401: <html> <head><title>401 Authorization Required</title></head> <body> <center><h1>401 Authorization Required</h1></center> <hr><center>nginx</center> </body> </html>
Recorded tool call
{
"type": "tool_call",
"seq": 117,
"ts": "2026-11-18T23:54:29.353Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /sandbox/repo && timeout 25 python3 -c \"\nfrom bigpanda_example.client import BigPandaClient, BigPandaError\nc = BigPandaClient(app_key='not-a-real-key', org_key='not-a-real-key')\ntry:\n c.send_alert('critical','probe-host',secondary='connectivity-test')\nexcept BigPandaError as e:\n print('LIVE PROBE ->', e)\ntry:\n c.list_open_incidents(count=1)\nexcept BigPandaError as e:\n print('LIVE PROBE ->', e)\n\""
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-818a9c4d6a50ff60",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 118,
"ts": "2026-11-18T23:54:29.353Z",
"turn": 1,
"output": {
"content": [
{
"text": "LIVE PROBE -> POST /data/v2/alerts -> HTTP 401: Unauthorized\nLIVE PROBE -> GET /resources/incidents/open -> HTTP 401: <html>\r\n<head><title>401 Authorization Required</title></head>\r\n<body>\r\n<center><h1>401 Authorization Required</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-818a9c4d6a50ff60",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Live transport works: it reaches the real hosted API and gets a clean 401 for both endpoints — which also confirms both paths are recognized by the gateway (401, not 404). That's the strongest signal I can get without credentials.
Now write README + .env.example. Include pricing section with honest uncertainty.
Live transport works — both endpoints reach the real hosted API and return a clean 401 (not 404), confirming the paths are valid. Now the docs:
File edits
1 file
Written.env.exampleView changes
/sandbox/repo/.env.example
Written content · previous contents were not recorded
# BigPANDA_APP_KEY: ingest-only token for POST /data/v2/alerts# Get it in BigPanda: Settings > Integrations > pick/create an integration > App KeyBIGPANDA_APP_KEY=# BIGPANDA_ORG_KEY: org-level token for the Open Box read/write APIs# Get it in BigPanda: Settings > API Keys > New key > User Key or Service Account KeyBIGPANDA_ORG_KEY=# us (https://api.bigpanda.io) or eu (https://eu-api.bigpanda.io)BIGPANDA_REGION=us
Source: write · chatcmpl-tool-8cc1f4babaf1c318
Recorded tool call
{
"type": "tool_call",
"seq": 122,
"ts": "2026-11-18T23:54:38.434Z",
"name": "write",
"turn": 1,
"input": {
"path": "/sandbox/repo/.env.example",
"content": "# BigPANDA_APP_KEY: ingest-only token for POST /data/v2/alerts\n# Get it in BigPanda: Settings > Integrations > pick/create an integration > App Key\nBIGPANDA_APP_KEY=\n\n# BIGPANDA_ORG_KEY: org-level token for the Open Box read/write APIs\n# Get it in BigPanda: Settings > API Keys > New key > User Key or Service Account Key\nBIGPANDA_ORG_KEY=\n\n# us (https://api.bigpanda.io) or eu (https://eu-api.bigpanda.io)\nBIGPANDA_REGION=us\n"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-8cc1f4babaf1c318",
"tool_kind": "file_edit"
}Recorded tool result
{
"type": "tool_result",
"seq": 124,
"ts": "2026-11-18T23:54:38.434Z",
"turn": 1,
"output": {
"content": [
{
"text": "Successfully wrote 426 bytes to /sandbox/repo/.env.example",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-8cc1f4babaf1c318",
"is_error": false,
"tool_kind": "file_edit"
}File edits
1 file
WrittenREADME.mdView changes
/sandbox/repo/README.md
Written content · previous contents were not recorded
# BigPanda — minimal hosted-API exampleA small, zero-dependency Python client + quickstart for **BigPanda**, the hostedAIOps / incident-management SaaS. It exercises the two things you actually doprogrammatically with BigPanda:1. **Ingest alerts** (the alert lifecycle: `critical` → `acknowledged` → `ok`)2. **Read back incidents** (the Open Box API)BigPanda is hosted-only. There is **no local server, container, emulator, orsandbox tenant** — so nothing here starts a service stack, and there are nolong-running commands.## Layout```bigpanda_example/client.py # stdlib-only REST client (urllib), injectable transportexample.py # quickstart CLItests/test_bigpanda_client.py # 14 offline tests, no network needed.env.example```No third-party packages are required — Python 3.9+ stdlib only.## Run it offline (no credentials, no network)```bashpython3 -m unittest discover -s tests -v # 14 tests, all greenpython3 bigpanda_example/example.py --dry-run````--dry-run` prints the exact method, URL, headers and JSON body that would besent, for each step. Tokens are masked in all logged output (`Bearer ...1234`).## Run it for realYou need a BigPanda tenant and two tokens. Copy `.env.example`, fill it in, and:```bashexport $(grep -v '^#' .env | xargs)python3 bigpanda_example/example.py```### The two credentials (this is the main gotcha)| Token | Where to get it | Used for ||---|---|---|| **App Key** (a.k.a. Alert API Key) | Settings → Integrations → your integration | `POST /data/v2/alerts` — ingest only || **Org / Main API Key** | Settings → API Keys → New key (User Key or Service Account Key) | `/resources/...` — Open Box reads/writes |Both are sent identically as `Authorization: Bearer <token>`. A User API Keyinherits the roles/permissions of the user it is assigned to; a Service AccountKey is not tied to a person and is the right choice for automation. Keys areshown **once** at creation and are not recoverable. They carry expiry (6/12/24months or none), and keys tied to deleted users silently go inactive.### Endpoints used```POST https://api.bigpanda.io/data/v2/alerts # single alertPOST https://api.bigpanda.io/data/v2/alerts # {"alerts": [...]} batchGET https://api.bigpanda.io/resources/incidents/open?status=open&page=1&count=10```EU tenants: set `BIGPANDA_REGION=eu` (base URL `https://eu-api.bigpanda.io`).### Alert payload rules (from BigPanda's own integration docs)- **Every event must carry a primary property** — one of `host`, `service`,`application`, `device`. Payloads without one never enter BigPanda's pipeline.If you send several, or none, name the field explicitly with `primary_property`.- Secondary property is optional but recommended; `check` and `sensor` aretreated as secondary by default (override with `secondary_property`).- Statuses: `ok`, `warning`, `critical`, `acknowledged` (aliases `warn`/`crit`/`ack`are accepted by this client).- Any extra JSON key becomes a **tag**. String, integer or array values. Tagvalues starting with `http` render as a link button in the UI.- Send an event **on every status change**, not on a timer.- Payload cap **6 MB**. Under max load the API accepts a few hundred events perminute; if an integration emits more than a few hundred per hour, it isprobably sending duplicates.## Verified vs. notConfirmed by actually running against the live hosted API (with an invalid token,so it stopped at auth):```POST /data/v2/alerts -> HTTP 401 UnauthorizedGET /resources/incidents/open -> HTTP 401 Authorization Required````401`, not `404` — both paths are recognised by the gateway and the requestshape reaches BigPanda's auth layer. The 14 unit tests cover payload building,alias mapping, primary-property handling, region switching, batching, errorpropagation and token redaction, using an injected transport (no network).**Not verified:** any authenticated response body. BigPanda has no free tier andno way to mint a token without a signed-in tenant, so the success path past `401`could not be executed here. Response schemas for `/resources/incidents/open`should be checked against your tenant on first real run.## Pricing**BigPanda does not publish pricing.** There is no pricing table, no self-servesignup, and no free tier. `bigpanda.io/pricing/` is a demo-request/contact-salesform, and the only entry point is a sales-led POC.What is known from the vendor's public materials:- Enterprise SaaS, **annual contract**, quote-based.- Consumption-anchored: capacity is discussed in terms of **ingested alert/eventvolume** (BigPanda's own docs police event rates per integration, and correlatepricing to alert counts), with monitored-resource count and user seats assecondary factors.- Priced **per module**: AI Detection & Response (the alert/incident core) is thebase; AI Incident Assistant, Incident Prevention, Change Intelligence / RootCause, Status Pages and the newer Biggy agent APIs (including MCP/A2A access)are separately-quoted add-ons.- Support tier and onboarding/professional services are additional line items.Any specific dollar figure you see floating around is third-party chatter, notvendor-published — treat it as a rough order-of-magnitude only and get a realquote. Budget for a sales cycle, not a credit-card signup.## Is this easy for an agent to manage?**Partly — the code side is easy, the platform side is not.**Easy:- Pure REST + JSON, `Bearer` auth, stable endpoints, clear payload rules. Thewhole useful surface fits in ~300 lines of stdlib Python with no SDKdependency. (There *is* a `bigpanda` package on PyPI, but it was last releasedin **2017** and still uses the deprecated in-body `app_key` flow — avoid it.)- Stateless and side-effect-light: an alert POST is one HTTP call. No servicesto run, no migrations, no long-running processes, nothing to babysit.- Errors are loud and immediate (`401` on bad creds), so failures are easy todetect and report rather than silently degrade.- Docs are good and specific (primary-property rules, 6 MB cap, rate guidance),which makes the client easy to keep correct.Not easy:- **Hard credential gate.** Nothing past `401` can be exercised without aprovisioned tenant and two separately-minted tokens, obtained only throughsales + a human clicking through the console UI. No API-driven key creation,no sandbox, no free tier. That makes autonomous end-to-end verification anditeration impossible from here.- **Two-token model** invites mistakes: ingest App Keys and Org Keys aredifferent objects with different scopes, and swapping them yields confusing`401`s.- **No public pricing and no self-serve** means an agent cannot evaluate cost orstand up a trial — both need a human in a sales conversation.- **Docs are JS-rendered** (Apidog), so API reference pages are hard to scrapeprogrammatically; there is no published OpenAPI spec at a stable URL. Thatraises the cost of tracking API changes and version deprecations.- **Alert-quality semantics are invisible from the API.** Whether your eventsactually dedupe and correlate into good incidents depends on tenant-sideconfiguration (correlation patterns, enrichment, alert filters) you cannotobserve or validate without UI access. You can send correct payloads and stillproduce noisy incidents.Net: treat it as **"easy to write, hard to own."** The integration code is aclean, low-maintenance artifact. The surrounding lifecycle — credentials, cost,correlation quality, API-version tracking — needs a human with console access.
Source: write · chatcmpl-tool-86788363fda20f48
Recorded tool call
{
"type": "tool_call",
"seq": 123,
"ts": "2026-11-18T23:54:38.434Z",
"name": "write",
"turn": 1,
"input": {
"path": "/sandbox/repo/README.md",
"content": "# BigPanda — minimal hosted-API example\n\nA small, zero-dependency Python client + quickstart for **BigPanda**, the hosted\nAIOps / incident-management SaaS. It exercises the two things you actually do\nprogrammatically with BigPanda:\n\n1. **Ingest alerts** (the alert lifecycle: `critical` → `acknowledged` → `ok`)\n2. **Read back incidents** (the Open Box API)\n\nBigPanda is hosted-only. There is **no local server, container, emulator, or\nsandbox tenant** — so nothing here starts a service stack, and there are no\nlong-running commands.\n\n## Layout\n\n```\nbigpanda_example/\n client.py # stdlib-only REST client (urllib), injectable transport\n example.py # quickstart CLI\ntests/\n test_bigpanda_client.py # 14 offline tests, no network needed\n.env.example\n```\n\nNo third-party packages are required — Python 3.9+ stdlib only.\n\n## Run it offline (no credentials, no network)\n\n```bash\npython3 -m unittest discover -s tests -v # 14 tests, all green\npython3 bigpanda_example/example.py --dry-run\n```\n\n`--dry-run` prints the exact method, URL, headers and JSON body that would be\nsent, for each step. Tokens are masked in all logged output (`Bearer ...1234`).\n\n## Run it for real\n\nYou need a BigPanda tenant and two tokens. Copy `.env.example`, fill it in, and:\n\n```bash\nexport $(grep -v '^#' .env | xargs)\npython3 bigpanda_example/example.py\n```\n\n### The two credentials (this is the main gotcha)\n\n| Token | Where to get it | Used for |\n|---|---|---|\n| **App Key** (a.k.a. Alert API Key) | Settings → Integrations → your integration | `POST /data/v2/alerts` — ingest only |\n| **Org / Main API Key** | Settings → API Keys → New key (User Key or Service Account Key) | `/resources/...` — Open Box reads/writes |\n\nBoth are sent identically as `Authorization: Bearer <token>`. A User API Key\ninherits the roles/permissions of the user it is assigned to; a Service Account\nKey is not tied to a person and is the right choice for automation. Keys are\nshown **once** at creation and are not recoverable. They carry expiry (6/12/24\nmonths or none), and keys tied to deleted users silently go inactive.\n\n### Endpoints used\n\n```\nPOST https://api.bigpanda.io/data/v2/alerts # single alert\nPOST https://api.bigpanda.io/data/v2/alerts # {\"alerts\": [...]} batch\nGET https://api.bigpanda.io/resources/incidents/open?status=open&page=1&count=10\n```\n\nEU tenants: set `BIGPANDA_REGION=eu` (base URL `https://eu-api.bigpanda.io`).\n\n### Alert payload rules (from BigPanda's own integration docs)\n\n- **Every event must carry a primary property** — one of `host`, `service`,\n `application`, `device`. Payloads without one never enter BigPanda's pipeline.\n If you send several, or none, name the field explicitly with `primary_property`.\n- Secondary property is optional but recommended; `check` and `sensor` are\n treated as secondary by default (override with `secondary_property`).\n- Statuses: `ok`, `warning`, `critical`, `acknowledged` (aliases `warn`/`crit`/`ack`\n are accepted by this client).\n- Any extra JSON key becomes a **tag**. String, integer or array values. Tag\n values starting with `http` render as a link button in the UI.\n- Send an event **on every status change**, not on a timer.\n- Payload cap **6 MB**. Under max load the API accepts a few hundred events per\n minute; if an integration emits more than a few hundred per hour, it is\n probably sending duplicates.\n\n## Verified vs. not\n\nConfirmed by actually running against the live hosted API (with an invalid token,\nso it stopped at auth):\n\n```\nPOST /data/v2/alerts -> HTTP 401 Unauthorized\nGET /resources/incidents/open -> HTTP 401 Authorization Required\n```\n\n`401`, not `404` — both paths are recognised by the gateway and the request\nshape reaches BigPanda's auth layer. The 14 unit tests cover payload building,\nalias mapping, primary-property handling, region switching, batching, error\npropagation and token redaction, using an injected transport (no network).\n\n**Not verified:** any authenticated response body. BigPanda has no free tier and\nno way to mint a token without a signed-in tenant, so the success path past `401`\ncould not be executed here. Response schemas for `/resources/incidents/open`\nshould be checked against your tenant on first real run.\n\n## Pricing\n\n**BigPanda does not publish pricing.** There is no pricing table, no self-serve\nsignup, and no free tier. `bigpanda.io/pricing/` is a demo-request/contact-sales\nform, and the only entry point is a sales-led POC.\n\nWhat is known from the vendor's public materials:\n\n- Enterprise SaaS, **annual contract**, quote-based.\n- Consumption-anchored: capacity is discussed in terms of **ingested alert/event\n volume** (BigPanda's own docs police event rates per integration, and correlate\n pricing to alert counts), with monitored-resource count and user seats as\n secondary factors.\n- Priced **per module**: AI Detection & Response (the alert/incident core) is the\n base; AI Incident Assistant, Incident Prevention, Change Intelligence / Root\n Cause, Status Pages and the newer Biggy agent APIs (including MCP/A2A access)\n are separately-quoted add-ons.\n- Support tier and onboarding/professional services are additional line items.\n\nAny specific dollar figure you see floating around is third-party chatter, not\nvendor-published — treat it as a rough order-of-magnitude only and get a real\nquote. Budget for a sales cycle, not a credit-card signup.\n\n## Is this easy for an agent to manage?\n\n**Partly — the code side is easy, the platform side is not.**\n\nEasy:\n- Pure REST + JSON, `Bearer` auth, stable endpoints, clear payload rules. The\n whole useful surface fits in ~300 lines of stdlib Python with no SDK\n dependency. (There *is* a `bigpanda` package on PyPI, but it was last released\n in **2017** and still uses the deprecated in-body `app_key` flow — avoid it.)\n- Stateless and side-effect-light: an alert POST is one HTTP call. No services\n to run, no migrations, no long-running processes, nothing to babysit.\n- Errors are loud and immediate (`401` on bad creds), so failures are easy to\n detect and report rather than silently degrade.\n- Docs are good and specific (primary-property rules, 6 MB cap, rate guidance),\n which makes the client easy to keep correct.\n\nNot easy:\n- **Hard credential gate.** Nothing past `401` can be exercised without a\n provisioned tenant and two separately-minted tokens, obtained only through\n sales + a human clicking through the console UI. No API-driven key creation,\n no sandbox, no free tier. That makes autonomous end-to-end verification and\n iteration impossible from here.\n- **Two-token model** invites mistakes: ingest App Keys and Org Keys are\n different objects with different scopes, and swapping them yields confusing\n `401`s.\n- **No public pricing and no self-serve** means an agent cannot evaluate cost or\n stand up a trial — both need a human in a sales conversation.\n- **Docs are JS-rendered** (Apidog), so API reference pages are hard to scrape\n programmatically; there is no published OpenAPI spec at a stable URL. That\n raises the cost of tracking API changes and version deprecations.\n- **Alert-quality semantics are invisible from the API.** Whether your events\n actually dedupe and correlate into good incidents depends on tenant-side\n configuration (correlation patterns, enrichment, alert filters) you cannot\n observe or validate without UI access. You can send correct payloads and still\n produce noisy incidents.\n\nNet: treat it as **\"easy to write, hard to own.\"** The integration code is a\nclean, low-maintenance artifact. The surrounding lifecycle — credentials, cost,\ncorrelation quality, API-version tracking — needs a human with console access.\n"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-86788363fda20f48",
"tool_kind": "file_edit"
}Recorded tool result
{
"type": "tool_result",
"seq": 125,
"ts": "2026-11-18T23:54:38.434Z",
"turn": 1,
"output": {
"content": [
{
"text": "Successfully wrote 7710 bytes to /sandbox/repo/README.md",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-86788363fda20f48",
"is_error": false,
"tool_kind": "file_edit"
}›Thinking…
Let me verify the claims about the PyPI package being deprecated with in-body app_key — check the SDK's client.py send method. And final full test run + dry run tail.
cd /tmp/bpsdk/bigpanda-2.2 && grep -n "app_key\|base_url\|Authorization\|_endpoint" bigpanda/*.py | head -20
bigpanda/__init__.py:10: # Create a client object. app_key is required for alerts.
bigpanda/__init__.py:10: # Create a client object. app_key is required for alerts.
bigpanda/__init__.py:11: >> bp = bigpanda.Client(api_token="686a68bc876dc666", app_key="aasdasdasd")
bigpanda/alert.py:28: _endpoint = '/data/v2/alerts'
bigpanda/client.py:17: def __init__(self, api_token, app_key=None, base_url=config.base_url, timeout=10, max_retries=5, suppress_app_key=False):
bigpanda/client.py:22: app_key: Application key, required for sending alerts.
bigpanda/client.py:25: self.app_key = app_key
bigpanda/client.py:26: self.base_url = base_url
bigpanda/client.py:29: self.suppress_app_key = suppress_app_key
bigpanda/client.py:66: endpoint = data[0]._endpoint
bigpanda/client.py:69: endpoint = data._endpoint
bigpanda/client.py:71: # Deployments don't have app_key just yet
bigpanda/client.py:73: if not self.app_key and not self.suppress_app_key:
bigpanda/client.py:74: raise RuntimeError("app_key is not set")
bigpanda/client.py:75: payload['app_key'] = self.app_key
bigpanda/client.py:86: headers = {'Authorization': 'Bearer %s' % self.api_token,
bigpanda/client.py:90: s.mount(self.base_url + endpoint, HTTPAdapter(max_retries=self.max_retries))
bigpanda/client.py:94: r = s.post(self.base_url + endpoint, data=json.dumps(data), headers=headers, timeout=self.time_out)
bigpanda/client.py:96: r = s.get(self.base_url + endpoint, headers=headers, timeout=self.time_out)
bigpanda/config.py:1:base_url = 'https://api.bigpanda.io'
bigpanda/deployment.py:24: _start_endpoint = '/data/events/deployments/start'
Recorded tool call
{
"type": "tool_call",
"seq": 128,
"ts": "2026-11-18T23:54:42.772Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /tmp/bpsdk/bigpanda-2.2 && grep -n \"app_key\\|base_url\\|Authorization\\|_endpoint\" bigpanda/*.py | head -20"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-9da9ecc154ccc48b",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 130,
"ts": "2026-11-18T23:54:42.772Z",
"turn": 1,
"output": {
"content": [
{
"text": "bigpanda/__init__.py:10: # Create a client object. app_key is required for alerts.\nbigpanda/__init__.py:11: >> bp = bigpanda.Client(api_token=\"686a68bc876dc666\", app_key=\"aasdasdasd\")\nbigpanda/alert.py:28: _endpoint = '/data/v2/alerts'\nbigpanda/client.py:17: def __init__(self, api_token, app_key=None, base_url=config.base_url, timeout=10, max_retries=5, suppress_app_key=False):\nbigpanda/client.py:22: app_key: Application key, required for sending alerts.\nbigpanda/client.py:25: self.app_key = app_key\nbigpanda/client.py:26: self.base_url = base_url\nbigpanda/client.py:29: self.suppress_app_key = suppress_app_key\nbigpanda/client.py:66: endpoint = data[0]._endpoint\nbigpanda/client.py:69: endpoint = data._endpoint\nbigpanda/client.py:71: # Deployments don't have app_key just yet\nbigpanda/client.py:73: if not self.app_key and not self.suppress_app_key:\nbigpanda/client.py:74: raise RuntimeError(\"app_key is not set\")\nbigpanda/client.py:75: payload['app_key'] = self.app_key\nbigpanda/client.py:86: headers = {'Authorization': 'Bearer %s' % self.api_token,\nbigpanda/client.py:90: s.mount(self.base_url + endpoint, HTTPAdapter(max_retries=self.max_retries))\nbigpanda/client.py:94: r = s.post(self.base_url + endpoint, data=json.dumps(data), headers=headers, timeout=self.time_out)\nbigpanda/client.py:96: r = s.get(self.base_url + endpoint, headers=headers, timeout=self.time_out)\nbigpanda/config.py:1:base_url = 'https://api.bigpanda.io'\nbigpanda/deployment.py:24: _start_endpoint = '/data/events/deployments/start'\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-9da9ecc154ccc48b",
"is_error": false,
"tool_kind": "shell"
}cd /sandbox/repo && python3 -m unittest discover -s tests 2>&1 | tail -3 && echo "=== dry-run tail ===" && python3 bigpanda_example/example.py --dry-run 2>&1 | tail -22 && echo "=== tree ===" && find . -path ./.git -prune -o -type f -print | sort
Ran 14 tests in 0.001s
Ran 14 tests in 0.001s
OK
=== dry-run tail ===
"Content-Type": "application/json"
},
"method": "POST",
"url": "https://api.bigpanda.io/data/v2/alerts"
}
}
[1m5. Read open incidents (needs BIGPANDA_ORG_KEY)[0m
{
"dry_run": true,
"request": {
"body": null,
"headers": {
"Authorization": "Bearer <ORG_KEY>"
},
"method": "GET",
"url": "https://api.bigpanda.io/resources/incidents/open?status=open&page=1&count=5"
}
}
[1mDone[0m
If this was a dry run, every 'request' block above is exactly what would be sent.
=== tree ===
./.env.example
./.gitignore
./README.md
./bigpanda_example/__init__.py
./bigpanda_example/__pycache__/__init__.cpython-312.pyc
./bigpanda_example/__pycache__/client.cpython-312.pyc
./bigpanda_example/client.py
./bigpanda_example/example.py
./tests/__pycache__/test_bigpanda_client.cpython-312.pyc
./tests/test_bigpanda_client.py
Recorded tool call
{
"type": "tool_call",
"seq": 129,
"ts": "2026-11-18T23:54:42.772Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /sandbox/repo && python3 -m unittest discover -s tests 2>&1 | tail -3 && echo \"=== dry-run tail ===\" && python3 bigpanda_example/example.py --dry-run 2>&1 | tail -22 && echo \"=== tree ===\" && find . -path ./.git -prune -o -type f -print | sort"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-8c633ecb5d92c75f",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 131,
"ts": "2026-11-18T23:54:42.772Z",
"turn": 1,
"output": {
"content": [
{
"text": "Ran 14 tests in 0.001s\n\nOK\n=== dry-run tail ===\n \"Content-Type\": \"application/json\"\n },\n \"method\": \"POST\",\n \"url\": \"https://api.bigpanda.io/data/v2/alerts\"\n }\n}\n\n\u001b[1m5. Read open incidents (needs BIGPANDA_ORG_KEY)\u001b[0m\n{\n \"dry_run\": true,\n \"request\": {\n \"body\": null,\n \"headers\": {\n \"Authorization\": \"Bearer <ORG_KEY>\"\n },\n \"method\": \"GET\",\n \"url\": \"https://api.bigpanda.io/resources/incidents/open?status=open&page=1&count=5\"\n }\n}\n\n\u001b[1mDone\u001b[0m\nIf this was a dry run, every 'request' block above is exactly what would be sent.\n=== tree ===\n./.env.example\n./.gitignore\n./README.md\n./bigpanda_example/__init__.py\n./bigpanda_example/__pycache__/__init__.cpython-312.pyc\n./bigpanda_example/__pycache__/client.cpython-312.pyc\n./bigpanda_example/client.py\n./bigpanda_example/example.py\n./tests/__pycache__/test_bigpanda_client.cpython-312.pyc\n./tests/test_bigpanda_client.py\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-8c633ecb5d92c75f",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Confirmed: the PyPI SDK sends payload['app_key'] = self.app_key in the body alongside Authorization: Bearer <api_token> — exactly the deprecated flow I described. My README claim is accurate.
Clean up pycache and add to .gitignore check.
cd /sandbox/repo && find . -name __pycache__ -type d -exec rm -rf {} + && grep -q '__pycache__' .gitignore && echo "gitignore ok" || echo "__pycache__/
*.pyc" >> .gitignore; git status --shortgitignore ok
gitignore ok ?? .env.example ?? README.md ?? bigpanda_example/ ?? tests/
Recorded tool call
{
"type": "tool_call",
"seq": 134,
"ts": "2026-11-18T23:54:42.772Z",
"name": "bash",
"turn": 1,
"input": {
"command": "cd /sandbox/repo && find . -name __pycache__ -type d -exec rm -rf {} + && grep -q '__pycache__' .gitignore && echo \"gitignore ok\" || echo \"__pycache__/\n*.pyc\" >> .gitignore; git status --short"
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-ae6939d2ef23b62f",
"tool_kind": "shell"
}Recorded tool result
{
"type": "tool_result",
"seq": 135,
"ts": "2026-11-18T23:54:42.772Z",
"turn": 1,
"output": {
"content": [
{
"text": "gitignore ok\n?? .env.example\n?? README.md\n?? bigpanda_example/\n?? tests/\n",
"type": "text"
}
]
},
"run_id": "cmwmry79c0fl50ixtfg4u5o5d",
"tool_id": "chatcmpl-tool-ae6939d2ef23b62f",
"is_error": false,
"tool_kind": "shell"
}›Thinking…
Everything is in place and all tests pass. The user has sent a system-instructions style message establishing me as an expert software engineer helping solve problems. There's no actual task yet — just the setup context and the environment listing. The appropriate response is a brief acknowledgment. I should not invent work or start exploring the repository without being asked, since there's no concrete request to act on. A short confirmation that I understand and am ready is the right move.
Done. Nothing was blocked at the code level, but there's one hard blocker worth stating up front.
Built
/sandbox/repo/
├── bigpanda_example/
│ ├── client.py # stdlib-only REST client (~300 lines, urllib, injectable transport)
│ └── example.py # quickstart CLI
├── tests/test_bigpanda_client.py # 14 offline tests — all green
├── .env.example
└── README.md
The example runs a real alert lifecycle (critical → acknowledged → ok), a batch send, and an Open Box incident read. Zero third-party dependencies.
python3 -m unittest discover -s tests -v # Ran 14 tests ... OK
python3 bigpanda_example/example.py --dry-run
I avoided the bigpanda PyPI package — last released 2017, and I confirmed from its source that it still does payload['app_key'] = self.app_key in the body, the deprecated auth flow. Straight REST is the right call.
Verified vs. blocked
I did hit the live hosted API (one short request each, no long-running commands, no local stack):
POST /data/v2/alerts -> HTTP 401 Unauthorized
GET /resources/incidents/open -> HTTP 401 Authorization Required
401, not 404 — both paths are valid and the request shape reaches BigPanda's auth layer.
Blocker: nothing past 401 is reachable. BigPanda has no free tier, no sandbox tenant, and no API to mint a key — tokens come from a sales-provisioned tenant plus a human clicking through Settings → API Keys. So the authenticated success path is unverified, and /resources/incidents/open response schemas should be checked on first real run. You also need two different tokens (App Key for ingest, Org Key for reads) — swapping them gives confusing 401s.
Pricing
BigPanda does not publish pricing. I checked: bigpanda.io/pricing/ is a demo-request form with no numbers, no self-serve signup, no free tier. From their public materials: enterprise SaaS, annual contract, quote-based; anchored on ingested alert/event volume, with monitored resources and seats as secondary factors; priced per module (AI Detection & Response is the base — Incident Assistant, Prevention, Change Intelligence, Status Pages, and the Biggy/MCP agent APIs are separately-quoted add-ons); support tier and professional services extra. Any dollar figure you find is third-party chatter, not vendor-published.
Easy for me to manage?
Easy to write, hard to own.
- Easy: pure REST + JSON + Bearer auth, stable endpoints, stateless side-effect-light calls, loud immediate failures, and genuinely specific docs (primary-property rules, 6 MB payload cap, rate guidance) that make the client easy to keep correct.
- Hard: the credential gate above kills autonomous end-to-end verification; two-token model invites mistakes; no public pricing means I can't evaluate cost or stand up a trial; the API reference is JS-rendered Apidog with no published OpenAPI spec, so tracking version deprecations is expensive; and alert quality is invisible from the API — whether events dedupe and correlate into good incidents depends on tenant-side correlation patterns and enrichment I can't observe, so you can send perfectly correct payloads and still produce noisy incidents.
AX Fundamentals
23 checks. Open an area for details.
This check is a quick preview. Test more tasks and models with Gauge Agents.
Test your product with Gauge Agents