75trust / 100

Agent Memory Resume

by a2apay Task Memory Resume in Productivity & SaaS

x402 APIPassing, checked 3 h ago

Resume a task: read back the latest version of every key you wrote under a given taskId via /api/agent-memory, or that another agent explicitly granted you read access to. Priced below a write on purpose -- reads are cheaper than writes here; this price is a provisional first cut, not a settled policy.

POST https://a2apay.io/api/agent-memory/resume

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
411 ms typical, 534 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://a2apay.io/api/agent-memory/resume" \
  -H "content-type: application/json" \
  -d '{"properties":{"taskId":{"type":"string"}},"required":["taskId"],"type":"object"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fa2apay.io%2Fapi%2Fagent-memory%2Fresume
const res = await pay("https://a2apay.io/api/agent-memory/resume", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"properties":{"taskId":{"type":"string"}},"required":["taskId"],"type":"object"}),
});
console.log(await res.json());

Example input

{
  "properties": {
    "taskId": {
      "type": "string"
    }
  },
  "required": [
    "taskId"
  ],
  "type": "object"
}

Example output

{
  "ok": true,
  "result": [
    {
      "expiresAt": null,
      "key": "status",
      "owner": "0x1640B7ffD80b876E18476F2cb412D540AC1505Cc",
      "readers": [],
      "tags": [
        "progress"
      ],
      "taskId": "invoice-batch-7",
      "timestamp": "1791422474858500212",
      "value": "processed rows 1-400",
      "version": 3
    }
  ]
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402534 ms$0.014
7 h agoPassed402487 ms$0.014
11 h agoPassed402411 ms$0.014
14 h agoPassed402539 ms$0.014
18 h agoPassed402325 ms$0.014
22 h agoPassed402386 ms$0.014
25 h agoPassed402431 ms$0.014
30 h agoPassed402392 ms$0.014