# Task Lease Guard

> Task Lease Guard is a paid API for AI agents from phion.systems, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Verifies that an agent holds an active, valid lease on a task before allowing execution or mutation to proceed

## Facts

- Endpoint: POST https://phion.systems/v1/paid/trust/task-lease-guard?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/task-lease-guard-6ac79ee0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5b8fkO9qb4RFRX_s8BXuE

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 task-lease-guard-6ac79ee0 -d '<json body>'
```

Example prompt: Before I start executing this task mutation, check that I still hold an active lease on task ID 'task-8841' and that no other agent has taken over ownership.

## When to prefer this

Use this endpoint when an agentic workflow needs to confirm exclusive task ownership before executing or mutating task state — particularly in multi-agent environments where lease races, expiry, or takeovers are possible. Prefer this over ad-hoc checks when you need a cryptographically grounded, signed authorization decision that can be logged or audited, rather than a soft in-memory lock check.

## Known failure modes

- Lease has expired — returns invalid/expired status preventing execution
- Agent identity does not match the recorded lease owner — returns ownership mismatch
- Task ID not found or lease never issued — returns unknown task error
- Malformed or missing lease token in the request — returns validation error
- Network or service timeout — returns no authorization decision, caller should retry

## How this service works

Verify active task lease ownership before execution or mutation

## Output

Returns a structured response indicating whether the calling agent holds a valid, active lease on the specified task — including ownership confirmation, lease expiry details, and an authorization decision on whether execution or mutation should proceed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "additionalProperties": true
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "example"
   ],
   "properties": {
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/task-lease-guard-6ac79ee0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from phion.systems](https://www.zero.xyz/host/phion.systems/llms.txt)
