{
  "openapi": "3.1.0",
  "info": {
    "title": "Dark Horse Terminal API",
    "version": "0.1.0-preview",
    "description": "Private preview Solana intelligence schema for Dark Horse Terminal. The API surface is visible, but the live service is not active on this frontend build."
  },
  "servers": [
    {
      "url": "https://api.darkhorseterminal.xyz",
      "description": "Private preview"
    }
  ],
  "tags": [
    {
      "name": "Signals"
    },
    {
      "name": "Wallets"
    },
    {
      "name": "Narratives"
    },
    {
      "name": "Terminal"
    }
  ],
  "paths": {
    "/v1/signals/query": {
      "post": {
        "tags": ["Signals"],
        "summary": "Query ranked Solana signal events",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "query": {
                    "type": "string",
                    "example": "new Solana mints with repeat deployer funding, low bundle share, and fresh-wallet follow-through"
                  },
                  "window": { "type": "string", "example": "6h" },
                  "limit": { "type": "integer", "minimum": 1, "maximum": 100 }
                },
                "required": ["query"]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Signal response"
          },
          "501": {
            "description": "Service not active"
          }
        }
      }
    },
    "/v1/wallets/{address}": {
      "get": {
        "tags": ["Wallets"],
        "summary": "Resolve a Solana wallet intelligence profile",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "schema": { "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "description": "Wallet profile"
          },
          "501": {
            "description": "Service not active"
          }
        }
      }
    },
    "/v1/narratives": {
      "get": {
        "tags": ["Narratives"],
        "summary": "List accelerating Solana sectors and narrative drift",
        "responses": {
          "200": {
            "description": "Narrative surface"
          },
          "501": {
            "description": "Service not active"
          }
        }
      }
    },
    "/v1/terminal/snapshot": {
      "get": {
        "tags": ["Terminal"],
        "summary": "Return a multi-surface Solana desk snapshot",
        "responses": {
          "200": {
            "description": "Snapshot payload"
          },
          "501": {
            "description": "Service not active"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ]
}
