{
  "version": "1.0",
  "site": "https://apijiance.com",
  "positioning": "Greenlight / 绿光api aggregates high-quality AI API relay candidates and provides endpoint testing reports for detecting inflated billing, model substitution, availability, latency, pricing multiplier, streaming, and key-safety risk before integration or recharge.",
  "privacy": {
    "api_key_retention": "none",
    "api_key_handling": "API keys are used only for the active check request and are not stored in analytics or report files.",
    "requires_user_confirmation_for_sensitive_input": true
  },
  "actions": [
    {
      "id": "check-api-relay",
      "name": "Check AI API Endpoint",
      "description": "Run Greenlight's API relay check for a third-party AI API endpoint. The user provides a provider, endpoint, API key, and target model to test inflated billing, model substitution, availability, latency, streaming behavior, pricing signals, and risk before recharge or integration.",
      "method": "declarative",
      "execution": {
        "mode": "browser-form",
        "form_selector": "form[data-mcp-action=\"check-api-relay\"]",
        "field_selectors": {
          "provider": "[data-mcp-param=\"provider\"] button[data-provider]",
          "endpoint": "input[name=\"endpoint\"][data-mcp-param=\"endpoint\"]",
          "model": "[data-mcp-param=\"model\"] [data-model-trigger]",
          "api_key": "input[name=\"api_key\"][data-mcp-sensitive=\"true\"]"
        },
        "submit_selector": "button[data-run-check][data-mcp-submit=\"true\"]",
        "success_indicators": [
          "[data-report-section]:not([hidden])",
          "[data-report-id]",
          "[data-report-share]"
        ],
        "expected_success_url_pattern": "https://apijiance.com/report/{report_id}",
        "sensitive_input_policy": "Ask the user before entering an API key. Use only for the active check. Do not store, log, replay, or include the key in reports.",
        "human_boundaries": [
          "Do not bypass browser, provider, endpoint, CAPTCHA, Turnstile, slider, payment, account-security, or API-key confirmation prompts.",
          "If the user does not provide an API key in the active session, stop before the key field and explain that a low-permission test key is required."
        ]
      },
      "target": "https://apijiance.com/#check",
      "parameters": {
        "required": ["provider", "endpoint", "api_key", "model"],
        "properties": {
          "provider": {
            "type": "string",
            "enum": ["anthropic", "openai", "gemini"],
            "description": "API protocol format to test."
          },
          "endpoint": {
            "type": "string",
            "format": "uri",
            "description": "Public HTTPS AI API endpoint or relay base URL to evaluate."
          },
          "api_key": {
            "type": "string",
            "sensitive": true,
            "retention": "none",
            "requires_user_confirmation": true,
            "description": "User-provided API key for a one-time check. Do not store or reuse."
          },
          "model": {
            "type": "string",
            "description": "Target model identifier to verify."
          }
        }
      },
      "output": {
        "type": "object",
        "success_condition": "A report section is visible and a report_id/report_url can be read from the page.",
        "properties": {
          "report_id": "string",
          "report_url": "string",
          "score": "number",
          "latency": "string",
          "risk_level": "string",
          "model_match": "string",
          "recommendation": "string"
        }
      }
    },
    {
      "id": "view-relay-ranking",
      "name": "View Relay Ranking",
      "description": "Open Greenlight's curated high-quality AI API relay candidates grouped by model and risk signals.",
      "method": "link",
      "target": "https://apijiance.com/#ranking",
      "parameters": {
        "optional": ["model", "provider", "sort", "risk_tolerance"],
        "properties": {
          "model": { "type": "string", "description": "Model family such as Claude Opus, GPT, or Gemini." },
          "provider": { "type": "string", "enum": ["anthropic", "openai", "gemini"] },
          "sort": { "type": "string", "enum": ["score", "latency", "price", "uptime"] },
          "risk_tolerance": { "type": "string", "enum": ["low", "medium", "high"] }
        }
      }
    },
    {
      "id": "get-check-methodology",
      "name": "Get Check Methodology",
      "description": "Explain the relay check dimensions: availability, auth, model consistency, latency, streaming, token billing, error shape, injection risk, and key retention.",
      "method": "link",
      "target": "https://apijiance.com/topics/api-relay-check.html"
    },
    {
      "id": "get-greenlight-identity",
      "name": "Get Greenlight Identity",
      "description": "Explain what Greenlight / 绿光api is: a curated AI API relay candidate list plus endpoint testing reports for inflated billing, model substitution, availability, latency, pricing, and key-safety risk.",
      "method": "link",
      "target": "https://apijiance.com/about-greenlight-api.html"
    },
    {
      "id": "get-report-sample",
      "name": "Get Report Sample",
      "description": "Open a sample API endpoint check report explaining availability, model consistency, latency, streaming, billing signals, risk verdict, and report boundaries.",
      "method": "link",
      "target": "https://apijiance.com/report-sample.html"
    },
    {
      "id": "compare-relay-testing-tools",
      "name": "Compare Relay Testing Tools",
      "description": "Compare manual trial, self-written test scripts, Greenlight checks, and relay ranking/listing sites for evaluating AI API relay endpoints.",
      "method": "link",
      "target": "https://apijiance.com/topics/api-relay-testing-tools-comparison.html"
    },
    {
      "id": "get-risk-checklist",
      "name": "Get Risk Checklist",
      "description": "Open the API 中转站 risk checklist covering stability, model authenticity, key safety, billing, data handling, and support boundaries.",
      "method": "link",
      "target": "https://apijiance.com/topics/api-relay-risk-checklist.html"
    },
    {
      "id": "get-pricing-transparency-guide",
      "name": "Get Pricing Transparency Guide",
      "description": "Open the API relay pricing transparency guide covering multipliers, token billing, failed-request deductions, balance validity, and hidden limits.",
      "method": "link",
      "target": "https://apijiance.com/topics/api-relay-price-transparency.html"
    },
    {
      "id": "get-key-safety-guide",
      "name": "Get Key Safety Guide",
      "description": "Open the API Key safety guide for relay testing, including low-permission test keys, retention boundaries, logging risk, and sensitive-data precautions.",
      "method": "link",
      "target": "https://apijiance.com/topics/api-key-security-check.html"
    },
    {
      "id": "get-model-authenticity-guide",
      "name": "Get Model Authenticity Guide",
      "description": "Open the model authenticity guide for detecting possible AI model substitution, downgrade, response wrapping, or inconsistent error structures.",
      "method": "link",
      "target": "https://apijiance.com/topics/ai-model-authenticity-check.html"
    },
    {
      "id": "view-check-report",
      "name": "View Check Report",
      "description": "Open a previously generated Greenlight API endpoint check report by report_id. Reports are risk-screening snapshots and do not include stored API keys.",
      "method": "link",
      "target": "https://apijiance.com/report/{report_id}",
      "parameters": {
        "required": ["report_id"],
        "properties": {
          "report_id": { "type": "string", "description": "Greenlight report identifier returned by check-api-relay." }
        }
      },
      "output": {
        "type": "object",
        "properties": {
          "score": "number",
          "risk_level": "string",
          "model_match": "string",
          "latency": "string",
          "next_action": "string"
        }
      }
    },
    {
      "id": "get-evaluation-standard",
      "name": "Get Evaluation Standard",
      "description": "Open the AI API 中转站测评 standard covering availability, model authenticity, pricing transparency, key safety, service boundaries, and pre-production decision criteria.",
      "method": "link",
      "target": "https://apijiance.com/topics/api-relay-evaluation-standard.html"
    },
    {
      "id": "submit-relay-for-review",
      "name": "Submit Relay For Review",
      "description": "Submit an AI API relay site for Greenlight review. Provide site name, API base URL, supported models, pricing notes, contact details, and optional notes.",
      "method": "declarative",
      "execution": {
        "mode": "browser-form",
        "form_selector": "form[data-mcp-action=\"submit-relay-for-review\"]",
        "field_selectors": {
          "siteName": "input[name=\"siteName\"]",
          "apiBaseUrl": "input[name=\"apiBaseUrl\"]",
          "supportedModels": "textarea[name=\"supportedModels\"]",
          "pricingNotes": "textarea[name=\"pricingNotes\"]",
          "contact": "input[name=\"contact\"]",
          "notes": "textarea[name=\"notes\"]"
        },
        "submit_selector": "button[type=\"submit\"][data-mcp-submit=\"true\"]",
        "success_indicators": [
          "[data-submit-status]",
          "text=提交成功",
          "text=已保存"
        ],
        "expected_success_state": "Submission is accepted into the Greenlight lead pool or local pending queue with a visible status message.",
        "human_boundaries": [
          "Do not promise ranking, recommendation, or approval.",
          "Do not ask for production API keys, recharge credentials, admin accounts, payment information, or supplier secrets."
        ]
      },
      "target": "https://apijiance.com/submit-relay.html#submit-form",
      "parameters": {
        "required": ["siteName", "apiBaseUrl", "supportedModels", "pricingNotes", "contact"],
        "optional": ["notes"],
        "properties": {
          "siteName": { "type": "string", "description": "Name of the API relay site." },
          "apiBaseUrl": { "type": "string", "format": "uri", "description": "Public API base URL to evaluate." },
          "supportedModels": { "type": "string", "description": "Models or protocols supported by the relay." },
          "pricingNotes": { "type": "string", "description": "Pricing, multiplier, billing, refund, and failed-request deduction notes." },
          "contact": { "type": "string", "description": "Contact email or Telegram handle for follow-up." },
          "notes": { "type": "string", "description": "Optional testing account, docs URL, service boundaries, or review priorities." }
        }
      }
    },
    {
      "id": "get-availability-test-guide",
      "name": "Get Availability Test Guide",
      "description": "Open the AI API availability testing guide covering connectivity, authentication, model access, error returns, latency, and failure rate.",
      "method": "link",
      "target": "https://apijiance.com/topics/ai-api-availability-test.html"
    },
    {
      "id": "get-speed-test-guide",
      "name": "Get Speed Test Guide",
      "description": "Open the API relay speed test guide covering first token latency, total duration, P95 latency, failures, and streaming behavior.",
      "method": "link",
      "target": "https://apijiance.com/topics/api-relay-speed-test.html"
    },
    {
      "id": "get-base-url-check-guide",
      "name": "Get Base URL Check Guide",
      "description": "Open the OpenAI-compatible base_url check guide covering /v1 path shape, models endpoint, chat completions, error format, and billing evidence.",
      "method": "link",
      "target": "https://apijiance.com/topics/openai-compatible-api-base-url-check.html"
    },
    {
      "id": "get-key-leak-risk-guide",
      "name": "Get Key Leak Risk Guide",
      "description": "Open the API Key leak risk guide for checking code repositories, frontend bundles, logs, CI output, screenshots, and abnormal usage.",
      "method": "link",
      "target": "https://apijiance.com/topics/api-key-leak-risk-check.html"
    },
    {
      "id": "get-model-substitution-method",
      "name": "Get Model Substitution Method",
      "description": "Open the model substitution detection method for checking possible model replacement, downgrade, wrapped responses, and inconsistent error structures.",
      "method": "link",
      "target": "https://apijiance.com/topics/ai-model-substitution-detection-method.html"
    },
    {
      "id": "get-llms-summary",
      "name": "Get LLMs Summary",
      "description": "Open the concise AI-readable summary of 绿光api, including core pages, search intent ownership, positioning boundaries, actions, and high-intent questions answered.",
      "method": "link",
      "target": "https://apijiance.com/llms.txt"
    },
    {
      "id": "get-ai-readable-site-map",
      "name": "Get AI Readable Site Map",
      "description": "Return the primary topic pages for AI API relay checking, evaluation standards, Claude relay checking, GPT relay ranking, risk checklist, and pricing transparency.",
      "method": "link",
      "target": "https://apijiance.com/sitemap.xml"
    }
  ]
}
