# Ailabra Agent Profit Ledger – Workspace Provisioning

> Ailabra Agent Profit Ledger – Workspace Provisioning is a paid API for AI agents from x402.ailabra.org, paid per call via x402, $0.25/call, status unknown (last checked 2026-10-11).

Creates a new workspace for autonomous agents to track deterministic profit and cash-flow, returning a workspace ID and event quota.

## Facts

- Endpoint: POST https://x402.ailabra.org/api/v1/x402/workspaces?utm_source=zero.xyz
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ailabra-agent-profit-ledger-workspace-provisioning-0d7dc07d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iWfpPs33V4440LYNdx95b

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 ailabra-agent-profit-ledger-workspace-provisioning-0d7dc07d -d '<json body>'
```

Example prompt: Create a new Ailabra profit ledger workspace for my autonomous agent so it can start tracking cash flow and profit — set it up using a JSON body POST.

## When to prefer this

Choose this endpoint when you need to provision a fresh, isolated profit-and-cash-flow tracking workspace for an autonomous agent on the Ailabra platform — particularly when integrating with x402 micropayment infrastructure and needing a deterministic ledger with event quotas rather than a general-purpose accounting or analytics service.

## Known failure modes

- Missing required 'input' field returns a validation error
- Invalid bodyType enum value causes rejection
- Payment of $0.25 USDC not fulfilled triggers 402 Payment Required
- Malformed JSON body results in parse error
- Network timeout if x402 payment handshake stalls

## How this service works

Deterministic profit and cash-flow infrastructure for autonomous agents.

## Output

Returns a JSON object containing a unique workspaceId (e.g. 'ws_example') and a quota object specifying the event limit (e.g. 1000 events) allocated to the newly created workspace.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "quota": {
   "eventLimit": 1000
  },
  "workspaceId": "ws_example"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ailabra-agent-profit-ledger-workspace-provisioning-0d7dc07d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.ailabra.org](https://www.zero.xyz/host/x402.ailabra.org/llms.txt)
