Skills Development Collecting Persona Identity Diagnostic Logs

Collecting Persona Identity Diagnostic Logs

v20260423
persona-debug-bundle
This skill is designed to collect comprehensive diagnostic information regarding Persona identity verification processes. It retrieves inquiry IDs, current status, API responses, and webhook delivery logs. It is essential for troubleshooting issues related to KYC and identity verification workflows, ensuring smooth API connectivity and data flow.
Get Skill
463 downloads
Overview

persona debug bundle | sed 's/\b(.)/\u\1/g'

Overview

Gather inquiry state, verification results, webhook delivery logs, API connectivity test.

Prerequisites

  • Completed persona-install-auth setup
  • Valid Persona API key (sandbox or production)

Instructions

Step 1: Implementation

import os, requests

HEADERS = {
    "Authorization": f"Bearer {os.environ['PERSONA_API_KEY']}",
    "Persona-Version": "2023-01-05",
}
BASE = "https://withpersona.com/api/v1"

# Collect Persona diagnostic info: inquiry IDs, API responses, webhook logs
resp = requests.get(f"{BASE}/inquiries?page[size]=10", headers=HEADERS)
resp.raise_for_status()
inquiries = resp.json()["data"]
for inq in inquiries:
    print(f"  {inq['id']}: {inq['attributes']['status']}")

Output

  • Gather inquiry state, verification results, webhook delivery logs, API connectivity test.

Error Handling

Error Cause Solution
401 Unauthorized Invalid API key Check PERSONA_API_KEY
429 Rate Limited Too many requests Implement backoff
404 Not Found Wrong resource ID Verify ID format

Resources

Next Steps

See related Persona skills for more workflows.

Info
Category Development
Name persona-debug-bundle
Version v20260423
Size 1.81KB
Updated At 2026-04-28
Language