# Knight Logics Agent Discovery Audit

> Knight Logics Agent Discovery Audit is a paid API for AI agents from agent.tryknightlogics.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Audits a public agent endpoint URL for A2A/agent-card compliance, returning a readiness score, per-check results, and blockers

## Facts

- Endpoint: POST https://agent.tryknightlogics.com/api/agent-discovery-audit
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/knight-logics-agent-discovery-audit-a19cfea8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u4tUWZA7X_4gdGLGOuJ_k

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability knight-logics-agent-discovery-audit-a19cfea8 -d '<json body>'
```

Example prompt: Can you run an agent discovery audit on https://agent.myservice.com and tell me whether it's ready, what checks passed or failed, and what's blocking discoverability?

## When to prefer this

Choose this endpoint when you need a structured, scored, per-check audit of an agent's A2A discoverability and agent-card compliance — especially when you want machine-readable results with evidence hashes for logging or CI pipelines. Prefer it over manual inspection when you need a definitive 'ready' or 'not ready' decision with specific blocker details.

## Known failure modes

- Target URL is unreachable or returns non-2xx — checks will fail and blockers will be listed
- Agent card JSON is malformed or missing required fields — check passes HTTP but fails content validation
- Origin does not serve a /.well-known/agent-card.json path — agent card check fails
- Rate limit or payment failure for the $0.10 USDC x402 call — request rejected before audit runs
- Invalid or malformed input URL — API returns error before any checks are performed

## How this service works

Public website contact extractor for CRM enrichment: emails, phones, forms, socials, DNS mail-policy. Also on Apify ($0.005/site) and RapidAPI (BASIC free).

## Output

Returns a JSON object with a numeric readiness score (0–100), an array of individual check results (each with URL, check name, pass/fail status, HTTP status, content type, byte count, and SHA-256 hash of evidence), the audited origin, a list of blockers preventing readiness, an overall decision string (e.g. 'ready'), a generation timestamp, and a top-level evidence SHA-256 hash.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "origin",
      "score",
      "decision",
      "checks",
      "blockers",
      "evidence_sha256",
      "generated_at"
     ],
     "properties": {
      "score": {
       "type": "integer",
       "maximum": 100,
       "minimum": 0
      },
      "checks": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "origin": {
       "type": "string"
      },
      "blockers": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "decision": {
       "enum": [
        "ready",
        "partial",
        "poor"
       ],
       "type": "string"
      },
      "generated_at": {
       "type": "string",
       "format": "date-time"
      },
      "evidence_sha256": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "score": 100,
  "checks": [
   {
    "url": "https://agent.example.com/.well-known/agent-card.json",
    "name": "a2a_agent_card",
    "passed": true,
    "status": 200,
    "content_type": "application/json",
    "content_bytes": 1024,
    "evidence_sha256": "0000000000000000000000000000000000000000000000000000000000000000"
   }
  ],
  "origin": "https://agent.example.com",
  "blockers": [],
  "decision": "ready",
  "generated_at": "2026-01-01T00:00:00Z",
  "evidence_sha256": "0000000000000000000000000000000000000000000000000000000000000000"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/knight-logics-agent-discovery-audit-a19cfea8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent.tryknightlogics.com](https://www.zero.xyz/host/agent.tryknightlogics.com/llms.txt)
