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

DefensX

DefensX connects Stackyapper to your partner customer inventory, subscription usage, enrolled agents and deployments, browser extensions, web-filter policies and custom URL lists, browsing and DNS telemetry, and cyber resilience posture.
See the DefensX tools and API reference to match any Stackyapper defensx_* tool to its DefensX Partner API v1 endpoint and sensitivity classification.

How authentication works

DefensX uses an Organization connection in Stackyapper. A workspace owner or admin saves one DefensX Partner API key (sent as an Authorization: Bearer header to https://cloud.defensx.com/api/partner/v1), and workspace permissions control which teammates and AI clients can use each tool.
All 36 DefensX tools in Stackyapper are read-only. Creating customers, editing web-filter policies, and modifying custom URL lists stay in the DefensX console.

Prepare DefensX

Create a dedicated Partner API key in the DefensX Partner Dashboard before connecting in Stackyapper.
  1. Open API Keys in the DefensX Partner Dashboard
    Sign in to the DefensX Partner Dashboard as a partner administrator and open the API Keys page (see the DefensX Partner API documentation).
  2. Generate a Partner API key
    1. Create a new Partner API key dedicated to Stackyapper (for example, Stackyapper) so it can be audited and rotated independently.
    2. Do not restrict the key to a single office IP address, because Stackyapper connects from cloud infrastructure.
    3. Copy the generated Partner API key immediately.
    Store the Partner API key securely and never paste it into chat messages or tickets.

Connect in Stackyapper

  1. Save the DefensX connection
    1. Open Apps → DefensX → Add connection in Stackyapper.
    2. Paste your key into Partner API key (without a Bearer prefix).
    3. Select Connect.
  2. Verify with a read-only call
    Confirm the connection reports healthy in Apps → DefensX, then run a small read (such as reading your partner record with defensx_get_self_customer or checking current usage with defensx_list_current_usage) and confirm it in Audit.

What happens when you save

  • Stackyapper runs a read-only check against GET /api/partner/v1/customers/self using your Partner API key before storing it.
  • If DefensX rejects the key (401 or 403), nothing is saved.
  • Workspace owners and admins can recheck the saved key at any time from Apps → DefensX by selecting Verify connection.

Rotate credentials

  1. Create a replacement Partner API key on the API Keys page in the DefensX Partner Dashboard.
  2. Open Apps → DefensX → Manage connection in Stackyapper, paste the new Partner API key, and select Save changes. Stackyapper re-runs the GET /api/partner/v1/customers/self check before replacing the stored key.
  3. Confirm a read call succeeds in Audit, then revoke the previous key in DefensX.

Permissions, privacy, and limits

  • Access controls: Connecting DefensX does not grant every member every tool. Workspace owners and admins control which groups and users can run DefensX tools in Tools & access and App limits. See Understand access.
  • Sensitive telemetry: Activity logs, customer directories, admin user lists, usage details, and cyber resilience posture can identify individual employees or partner administrators. Grant those tools selectively to authorized reviewers.
  • Built-in redactions: Stackyapper omits deployment enrollment tokens from defensx_list_deployments, omits direct file download URLs from file-transfer logs, and omits user mailbox addresses from usage details. Credential-entry logs and stats show where passwords were entered and the policy verdict, never submitted passwords.
  • Paging and date windows: Paged list tools return 25 rows by default and up to 50 rows per page (page and limit). Statistics endpoints return the top 20 results for the selected window. If you omit start_date and end_date, DefensX defaults to the current calendar month.
  • Partners with more than 50 customers: defensx_list_customers returns at most 50 customers and fails rather than silently truncating larger customer lists. If you manage more than 50 customers, page defensx_list_current_usage to look up customerId values.

What your AI client can work with

Stackyapper’s DefensX app provides 36 read-only tools:
AreaExamples
Partner and customer inventorySelf partner record, customer list (up to 50), product catalog, partner admin users
Licensing and usageHistorical usage, paginated current usage, per-seat usage details
Agents, deployments, and directoryInstalled and uninstalled agents, child-customer agents, deployments (without enrollment tokens), groups, customer users
Browser extensionsInstalled extensions, low-reputation extensions, users with a specific extension
Policies and custom URL listsWeb-filter categories, customer policies, custom URL groups, custom URL search and listing
Activity logsURL visits, credential-entry events, file transfers, user consents, DNS queries, remote browser isolation (RBI) sessions
Statistics and postureTop 20 blocked categories, blocked and uncategorized hostnames, category hostnames, credential-entry hostnames (all, consented, and blocked), and cyber resilience score

Built-in review skill

DefensX includes the Browser protection review skill, which checks installed and uninstalled agents, agent check-in age, low-reputation browser extensions, top blocked hostnames and categories, and optional cyber resilience and credential-entry summaries for a single customer and date range.
DefensX tools and API reference
Search all 36 DefensX tools and match each one to its DefensX Partner API v1 endpoint and sensitivity classification.

Troubleshooting

DefensX rejected the Partner API key on save or verify (401)
DefensX rejected this credential. Nothing was saved.
Cause: The Partner API key is invalid or revoked, was pasted with a leading Bearer prefix, or is restricted to an IP allowlist that blocks Stackyapper.
Fix: Paste only the raw key from the DefensX Partner Dashboard API Keys page without Bearer , confirm the key is active, and remove office-only IP restrictions on the key before saving again.
DefensX denied the connection check (403)
DefensX accepted this credential but it lacks the access Stackyapper needs. Nothing was saved.
Cause: The Partner API key does not have permission to read GET /api/partner/v1/customers/self.
Fix: Confirm the key was created from a partner administrator account on the DefensX Partner Dashboard API Keys page, then retry saving.
Listing customers fails for large partner accounts
Cause: DefensX’s /customers endpoint has no pagination parameters, so defensx_list_customers rejects responses with more than 50 customers rather than truncating the list.
Fix: Use defensx_list_current_usage (which supports page and limit up to 50) to resolve each customer’s customerId UUID, or pass the customerId directly.
Logs or statistics appear empty
Cause: When start_date and end_date are omitted, DefensX defaults to the current calendar month, which may contain little or no activity early in the month.
Fix: Pass explicit ISO 8601 start_date and end_date values (for example, the last 30 days). For source, use Browser by default and DNS only for clientless DNS deployments.
Customer-scoped tool returns 404 Not Found
Cause: The customerId UUID is mistyped or does not belong to the connected DefensX partner account.
Fix: Look up the exact customerId from defensx_list_customers or defensx_list_current_usage and retry.
Teammates cannot see DefensX tools
Cause: Saving the organization connection does not grant tool access automatically.
Fix: Open Tools & access in Stackyapper and assign the required DefensX tools to the appropriate groups or users.