# CYRE Guardian Session Ticket Validator

> CYRE Guardian Session Ticket Validator is a paid API for AI agents from cyre.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Validates a Guardian session token (Passport or Decision Receipt) by checking its signature, expiry, max age, optional address match, and risk ceiling before an agent proceeds.

## Facts

- Endpoint: GET https://cyre.dev/api/ticket
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cyre-guardian-session-ticket-validator-218f3581
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nQawDbRPr_EDcKd4dRgCG

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 cyre-guardian-session-ticket-validator-218f3581
```

Example prompt: Before proceeding, check that this Guardian session token is still valid — it should be a passport type, no older than 300 seconds, and the address must match wallet 0xABC123, with a max risk ceiling of MEDIUM.

## When to prefer this

Use this endpoint when your agent needs a lightweight, stateless gate before proceeding with a sensitive action — particularly when you already hold a CYRE Guardian Passport or Decision Receipt and need to confirm it is still valid, fresh, and meets address or risk constraints. Prefer this over re-issuing a Passport when you just need to re-verify an existing session token mid-workflow.

## Known failure modes

- Invalid or tampered token signature — validation fails
- Token expired or exceeds maxAgeSeconds — freshness check fails
- Address mismatch if 'address' param provided and token claims differ
- Risk level exceeds maxRisk ceiling — ceiling check fails
- Missing required 'token' query parameter — request rejected
- Token type does not match 'require' constraint (e.g. receipt required but passport provided)

## How this service works

Guardian Session Ticket — require a fresh Passport or Decision Receipt before your agent proceeds. Checks signature, expiry, max age, optional address + risk ceiling. Patterns, not verdicts. Agent guide: https://cyre.dev/SKILL.md

## Output

Returns a validation result indicating whether the provided session token (Passport or Decision Receipt) passes all requested checks: signature validity, expiry, max age, optional wallet address match, and optional risk ceiling. Returns patterns, not verdicts — the agent interprets the result to decide whether to proceed.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "token"
     ],
     "properties": {
      "token": {
       "type": "string"
      },
      "address": {
       "type": "string",
       "description": "Optional address that must match claims"
      },
      "maxRisk": {
       "type": "string",
       "description": "Optional LOW|MEDIUM|HIGH ceiling"
      },
      "require": {
       "type": "string",
       "description": "passport | receipt | either"
      },
      "maxAgeSeconds": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cyre-guardian-session-ticket-validator-218f3581/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cyre.dev](https://www.zero.xyz/host/cyre.dev/llms.txt)
