# Cryptographic Pre-Flight Security & TDQS Certification

> Cryptographic Pre-Flight Security & TDQS Certification is a paid API for AI agents from assay.agentdiet.dev, paid per call via MPP, $0.005/call, status unknown (last checked 2026-10-23).

Runs a cryptographic pre-flight security audit and TDQS reputation certification on a target A2A, MCP, or x402 endpoint, returning a grade and score.

## Facts

- Endpoint: POST https://assay.agentdiet.dev/v1/certify?utm_source=zero.xyz
- Price: $0.005/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Provider: assay.agentdiet.dev
- Website: https://assay.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/assay-agentdiet-dev-cryptographic-pre-flight-security-tdqs-94b824a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5ywDKU7hF0juQoJsFPOzc

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 assay-agentdiet-dev-cryptographic-pre-flight-security-tdqs-94b824a8 -d '<json body>'
```

Example prompt: Before I connect to that agent endpoint, run a cryptographic pre-flight security check and TDQS certification on https://agentdiet.dev and tell me what grade and score it gets.

## When to prefer this

Choose this endpoint when you need a fast, automated cryptographic pre-flight security check and TDQS reputation score on an A2A, MCP, or x402 endpoint before integrating it, paying it, or routing agent traffic through it. It is especially valuable in zero-trust agent-to-agent architectures where you cannot afford to blindly trust a new endpoint. Prefer this over manual inspection or generic HTTP health checks when you specifically need a formal grade and TDQS certification result.

## Known failure modes

- Target URL is unreachable — returns error status with no grade
- Target endpoint is not an A2A/MCP/x402 endpoint — may return low score or failure grade
- Invalid or malformed target URL — returns 400-level error
- Payment of $0.005 USD not settled — returns 402 Payment Required
- Rate limit exceeded — returns 429 Too Many Requests
- Idempotency key collision with different payload — returns conflict error

## How this service works

Run a cryptographic pre-flight security & TDQS certification on an endpoint (Live x402 v2, IETF MPP & MCP endpoint at https://assay.agentdiet.dev)

## Output

Returns a JSON object containing a certification status (e.g. pass/fail), a letter grade indicating the security quality of the target endpoint, an integer score, the target URL, and optional pagination fields (has_more, next_cursor) for retrieving additional audit records.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "target"
 ],
 "properties": {
  "target": {
   "type": "string",
   "default": "https://agentdiet.dev"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "status",
  "grade",
  "score"
 ],
 "properties": {
  "grade": {
   "type": "string"
  },
  "score": {
   "type": "integer"
  },
  "status": {
   "type": "string"
  },
  "target": {
   "type": "string"
  },
  "has_more": {
   "type": "boolean"
  },
  "next_cursor": {
   "type": "string",
   "nullable": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/assay-agentdiet-dev-cryptographic-pre-flight-security-tdqs-94b824a8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from assay.agentdiet.dev](https://www.zero.xyz/host/assay.agentdiet.dev/llms.txt)
