# Temporal Knowledge Decay API

> Temporal Knowledge Decay API is a paid API for AI agents from temporal-knowledge-decay-api.johntaylor1online.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Calculates how knowledge or information degrades in relevance or accuracy over time using a temporal decay model

## Facts

- Endpoint: POST https://temporal-knowledge-decay-api.johntaylor1online.workers.dev/calculate
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/temporal-knowledge-decay-api-8b2cbebc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fYGLTlqIk7Z-vTcr4OMnr

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 temporal-knowledge-decay-api-8b2cbebc -d '<json body>'
```

Example prompt: Calculate the temporal knowledge decay for a piece of information that was recorded 18 months ago and tell me how much its relevance has degraded over that time period.

## When to prefer this

Choose this endpoint when you need a programmatic, quantitative measure of how time affects the reliability or relevance of information — especially for AI knowledge base management, document ranking, or any system that needs to discount older facts. Useful when building RAG pipelines, recommendation engines, or knowledge graphs that require temporal weighting.

## Known failure modes

- Missing required fields in POST body returns validation error
- Invalid or unparseable date/time inputs cause computation failure
- Payment not included or insufficient USDC causes 402 Payment Required response
- Malformed JSON body returns 400 Bad Request
- Unsupported decay model parameters may return error or default fallback

## How this service works

Temporal Knowledge Decay

## Output

Returns a computed decay score or metric indicating how much a piece of knowledge or information has degraded in relevance or accuracy over the specified time period, likely including a numerical decay value, possibly a decay curve or percentage, and metadata about the computation.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/temporal-knowledge-decay-api-8b2cbebc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from temporal-knowledge-decay-api.johntaylor1online.workers.dev](https://www.zero.xyz/host/temporal-knowledge-decay-api.johntaylor1online.workers.dev/llms.txt)
