Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Petra Security tools and API reference

Use this reference to map any Stackyapper Petra Security tool to the Petra Security REST API endpoint it calls. Petra Security exposes 5 tools (5 REST reads).
For setup steps, permissions, and troubleshooting, see Petra Security.

Find exact input schemas at runtime

This reference describes the catalog mapping so administrators can configure least-privilege Petra Security access and AI clients can identify the right tool family. At runtime, your connected AI client should still discover tools and load schemas through your workspace tools (_search_tools and _get_tool_schemas) so requests reflect the signed-in person’s effective permissions, workspace App limits, and current input schemas.
All REST paths below are relative to the Petra Security API root (https://api.petrasecurity.com/v1). Rows without an access badge are reads. Needs confirmation means Stackyapper asks for separate confirmation even if you approved the call in your AI client. Calls without client approval and workspace approval rules can also require confirmation.

API tools

5 tools · 5 read↑ Find a tool
billable-users1
petra_security_list_billable_users
ReadPII · Financial
GET/billable-users
failed-attacks1
petra_security_get_failed_attacks
ReadPII
GET/failed-attacks
incidents1
petra_security_list_incidents
ReadPII
GET/incidents
tenants1
petra_security_list_tenants
ReadTenant admin
GET/tenants
usage1
petra_security_get_usage
ReadFinancial · Tenant admin
GET/usage