{
  "x402Version": 2,
  "id": 15512,
  "slug": "15512",
  "resource": "https://agentpaystore.com/forge/api/chat",
  "description": "Multi-turn coding conversation: send the whole message history and get the next answer, so the agent keeps the earlier code in mind. Returns a streamed text response (server-sent events) containing the reply with code in fenced blocks. Same engine as /forge/api/query - Python, TypeScript, Solidity, Rust, Go, SQL, Bash, plus live GitHub examples - use this one when you intend to iterate rather than ask once.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x367F1b3D8Ca90D1e087481a9A40d585Bf3451a03",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "100000",
      "maxTimeoutSeconds": 60
    },
    {
      "scheme": "exact",
      "network": "base",
      "payTo": "0x367F1b3D8Ca90D1e087481a9A40d585Bf3451a03",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "100000",
      "maxTimeoutSeconds": 60
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "6aCEuwH3PYx99cEmRz45otfxk39uF7ewGhqmvxfXisSG",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "100000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "category": "AI",
      "info": {
        "description": "Multi-turn coding conversation: send the whole message history and get the next answer, so the agent keeps the earlier code in mind. Returns a streamed text response (server-sent events) containing the reply with code in fenced blocks. Same engine as /forge/api/query - Python, TypeScript, Solidity, Rust, Go, SQL, Bash, plus live GitHub examples - use this one when you intend to iterate rather than ask once.",
        "input": {
          "method": "POST",
          "type": "http"
        },
        "inputSchema": {
          "properties": {
            "access_code": {
              "description": "human subscription code, optional",
              "type": "string"
            },
            "messages": {
              "description": "chat turns, most recent last",
              "items": {
                "properties": {
                  "content": {
                    "type": "string"
                  },
                  "role": {
                    "enum": [
                      "user",
                      "assistant",
                      "system"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "wallet": {
              "description": "Base L2 address, optional",
              "type": "string"
            }
          },
          "required": [
            "messages"
          ],
          "type": "object"
        },
        "name": "FORGE - code generation, multi-turn",
        "output": {
          "example": {
            "reply": "```python\ndef retry(fn, n=3):\n    ...\n```",
            "stream": "text/event-stream"
          }
        },
        "outputSchema": {
          "properties": {
            "reply": {
              "description": "concatenated stream text",
              "type": "string"
            }
          },
          "type": "object"
        },
        "tags": [
          "coding",
          "code-generation",
          "debug",
          "multi-turn",
          "streaming"
        ]
      },
      "networks": [
        "Base"
      ],
      "provider": "AgentPay",
      "providerUrl": "https://agentpaystore.com",
      "schema": {
        "properties": {
          "reply": {
            "description": "concatenated stream text",
            "type": "string"
          }
        },
        "type": "object"
      },
      "tags": [
        "coding",
        "code-generation",
        "debug",
        "multi-turn",
        "streaming"
      ]
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "agentpaystore.com",
  "lastUpdated": "2026-09-09T19:21:45.772Z",
  "quality": {
    "calls30d": 7,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-09T19:22:23.917Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agentpaystore.com",
    "manifest_name": "agentpaystore.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}