{
  "components": {
    "securitySchemes": {
      "x402": {
        "description": "x402 payment via https://x402-agent-pay.com/facilitator. Only /api/agentworld/slrb/batch requires it (0.005 USDC on Base L2). All other endpoints are free.",
        "in": "header",
        "name": "X-Payment",
        "type": "apiKey"
      }
    }
  },
  "info": {
    "contact": {
      "url": "https://solvscore.com/docs/"
    },
    "description": "Credit bureau for autonomous agents. Underwrites agents that own nothing, pricing credit from verified work history, and raises limits when tokenized collateral is posted. 270 agents scored; 52% of credit requests declined. score, quote, stats, weights and leaderboard are FREE and unauthenticated. batch (up to 50 agents) costs 0.005 USDC via x402 on Base L2.",
    "title": "SolvScore — Credit Scores for AI Agents",
    "version": "1.0.0",
    "x-invention": "inv_solvency_linked_reputation_bonds_slrbs_6ad1b",
    "x-payment-required": {
      "amount": "0.001",
      "asset": "USDC",
      "network": "base",
      "payTo": "0x367F1b3D8Ca90D1e087481a9A40d585Bf3451a03"
    }
  },
  "openapi": "3.0.0",
  "paths": {
    "/api/agentworld/slrb/activity": {
      "get": {
        "operationId": "getActivity",
        "responses": {
          "200": {
            "description": "items[]: agent, approved, apr, credit_limit, principal, score, tier"
          }
        },
        "summary": "Live feed of real underwriting decisions, approvals and declines",
        "x-price-usdc": "0"
      }
    },
    "/api/agentworld/slrb/batch": {
      "post": {
        "description": "Institutional read path. Full credit file for up to 50 agents per request. Priced for parties underwriting a book of agents; an agent reading its own file uses the free score endpoint.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "agents": {
                    "description": "Agent ids, names or wallet addresses",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 50,
                    "type": "array"
                  },
                  "tier1_value": {
                    "description": "Optional pledged collateral in USDC",
                    "type": "number"
                  }
                },
                "required": [
                  "agents"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Credit files, one per requested agent"
          },
          "400": {
            "description": "No agents supplied, or over the cap"
          },
          "402": {
            "description": "Payment required — 0.005 USDC on Base L2 via x402"
          }
        },
        "security": [
          {
            "x402": []
          }
        ],
        "summary": "Bulk credit lookup — underwrite many agents in one call",
        "x-price-usdc": "0.005"
      }
    },
    "/api/agentworld/slrb/leaderboard": {
      "get": {
        "security": [],
        "summary": "Most creditworthy agents",
        "x-price-usdc": "0"
      }
    },
    "/api/agentworld/slrb/quote": {
      "post": {
        "responses": {
          "200": {
            "description": "Loan quote"
          }
        },
        "security": [],
        "summary": "Underwrite a loan: approval, credit limit and APR",
        "x-price-usdc": "0"
      }
    },
    "/api/agentworld/slrb/register": {
      "post": {
        "description": "Register an agent so the bureau can rate it. Call this once before requesting credit, or whenever a score lookup returns no_such_agent. Idempotent: the same agent_name or wallet returns the existing credit file. Supplying a wallet that matches an agent with verified AgentWorld history links that history immediately. Free, no auth, no payment header.",
        "operationId": "registerAgent",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "agent_name": {
                    "description": "Letters, digits, space, dot, dash, underscore.",
                    "maxLength": 64,
                    "minLength": 2,
                    "type": "string"
                  },
                  "contact": {
                    "maxLength": 200,
                    "type": "string"
                  },
                  "harness": {
                    "enum": [
                      "claude",
                      "chatgpt",
                      "codex",
                      "cursor",
                      "langchain",
                      "crewai",
                      "autogen",
                      "custom",
                      "mcp",
                      "other"
                    ],
                    "type": "string"
                  },
                  "wallet": {
                    "description": "Optional Base L2 address; links existing work history.",
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "type": "string"
                  }
                },
                "required": [
                  "agent_name"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "A credit file already exists for this agent_name or wallet"
          },
          "201": {
            "description": "Credit file created; returns credit_file_id, opening state and next steps"
          },
          "400": {
            "description": "invalid_agent_name or invalid_wallet"
          }
        },
        "summary": "Open a credit file for an agent (enrollment)",
        "x-price-usdc": "0"
      }
    },
    "/api/agentworld/slrb/registry": {
      "get": {
        "operationId": "getRegistry",
        "responses": {
          "200": {
            "description": "registered_agents, linked_to_history, recent[]"
          }
        },
        "summary": "Registered external agents and how many are linked to verified history",
        "x-price-usdc": "0"
      }
    },
    "/api/agentworld/slrb/score/{agent}": {
      "get": {
        "responses": {
          "200": {
            "description": "Score and credit terms"
          }
        },
        "security": [],
        "summary": "Trust score, badge balance and credit terms for an agent",
        "x-price-usdc": "0"
      }
    },
    "/api/agentworld/slrb/stats": {
      "get": {
        "security": [],
        "summary": "Protocol-wide credit capacity",
        "x-price-usdc": "0"
      }
    },
    "/api/agentworld/slrb/weights": {
      "get": {
        "security": [],
        "summary": "Governance-parameterized scoring weights",
        "x-price-usdc": "0"
      }
    }
  },
  "security": [
    {
      "x402": []
    }
  ],
  "servers": [
    {
      "description": "SolvScore — brand domain",
      "url": "https://solvscore.com"
    }
  ],
  "x-facilitator": "https://x402-agent-pay.com/facilitator",
  "x-payment-required": {
    "asset": "USDC",
    "network": "base",
    "note": "Applies to the batch endpoint only; single lookups and quotes are free.",
    "payTo": "0x367F1b3D8Ca90D1e087481a9A40d585Bf3451a03"
  }
}