# VKPSessionKeyManager.createSession() Transaction Preparer

> VKPSessionKeyManager.createSession() Transaction Preparer is a paid API for AI agents from theloopbreaker.com, paid per call via x402, $0.050000/call, status unknown (last checked 2026-09-15).

Prepares an unsigned transaction to create a scoped, time-bounded session key with spending caps and a contract allowlist via VKPSessionKeyManager.createSession()

## Facts

- Endpoint: POST https://theloopbreaker.com/api/x402/actions/create-session-key
- Price: $0.050000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/theloopbreaker-com-643fcac6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4pe1nU2ndThnyNjaxl5mD

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 theloopbreaker-com-643fcac6 -d '<json body>'
```

Example prompt: Prepare a session key for my agent wallet 0xABC...123 that expires in 24 hours, caps total spending at 10 USDC, and only allows interactions with the Vaultfire AIPartnershipBondsV2 and VaultfireNameService contracts — give me the unsigned transaction I can sign in my wallet.

## When to prefer this

Use this endpoint when you need to delegate a restricted, time-limited session key to an AI agent or automated process, enforcing spending caps and limiting contract interaction to a specific allowlist. Prefer this over generic key management when you need fine-grained on-chain permission scoping within the Vaultfire Protocol ecosystem.

## Known failure modes

- Invalid or missing wallet address returns 400 Bad Request
- Malformed contract allowlist addresses returns validation error
- Spending cap exceeds protocol maximum returns constraint error
- Expiry time in the past or too far in the future returns parameter error
- x402 payment header missing or insufficient USDC balance returns 402 Payment Required
- Unsupported chain ID returns 400 or 422 error

## How this service works

Tx-prepare for VKPSessionKeyManager.createSession() — create a scoped, time-bounded session key with spending caps and a contract allowlist. Returns unsigned transaction; caller signs in wallet.

## Output

Returns an unsigned transaction payload that the caller signs locally in their wallet to create a scoped, time-bounded session key with the specified spending caps and contract allowlist on-chain via VKPSessionKeyManager.createSession()

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/theloopbreaker-com-643fcac6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from theloopbreaker.com](https://www.zero.xyz/host/theloopbreaker.com/llms.txt)
