{
    "openapi": "3.0.3",
    "info": {
        "title": "MintSEOTools Enterprise REST API",
        "version": "1.0.0",
        "description": "Scoped Bearer REST API for Technical SEO Audits, GEO / AI Search Readiness, DNS & HTTP Diagnostics, Keyword Intelligence, YouTube Analytics, and Domain Workspaces."
    },
    "servers": [
        {
            "url": "https://www.mintseotools.com",
            "description": "Primary API Host"
        }
    ],
    "tags": [
        {
            "name": "Account & Discovery"
        },
        {
            "name": "Meta & Structured Data"
        },
        {
            "name": "GEO & Technical SEO"
        },
        {
            "name": "Authority & Backlinks"
        },
        {
            "name": "Network & Domain Intel"
        },
        {
            "name": "Content & Keywords"
        },
        {
            "name": "YouTube Creator Intel"
        },
        {
            "name": "Workspaces & Monitors"
        }
    ],
    "paths": {
        "/api/v1/account": {
            "get": {
                "tags": [
                    "Account & Discovery"
                ],
                "summary": "Inspect current token metadata, user tier, and live monthly credit quota.",
                "description": "Inspect current token metadata, user tier, and live monthly credit quota. Required scope: `account:read`. Cost: `0` monthly API credits (automatically refunded on HTTP 4xx errors).",
                "operationId": "getAccount",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                }
            }
        },
        "/api/v1/capabilities": {
            "get": {
                "tags": [
                    "Account & Discovery"
                ],
                "summary": "Retrieve machine-readable catalog of active v1 endpoints, scopes, and credit costs.",
                "description": "Retrieve machine-readable catalog of active v1 endpoints, scopes, and credit costs. Required scope: `account:read`. Cost: `0` monthly API credits (automatically refunded on HTTP 4xx errors).",
                "operationId": "getCapabilities",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                }
            }
        },
        "/api/v1/meta/analyze": {
            "post": {
                "tags": [
                    "Meta & Structured Data"
                ],
                "summary": "Analyze page title, meta description, canonicals, robots directives, and SERP pixel fit.",
                "description": "Analyze page title, meta description, canonicals, robots directives, and SERP pixel fit. Required scope: `meta:read`. Cost: `1` monthly API credit (automatically refunded on HTTP 4xx errors).",
                "operationId": "postMetaAnalyze",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "url": {
                                        "type": "string"
                                    }
                                },
                                "example": {
                                    "url": "https://example.com"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/meta/open-graph": {
            "post": {
                "tags": [
                    "Meta & Structured Data"
                ],
                "summary": "Extract Open Graph (og:*) and social preview tags from any public URL.",
                "description": "Extract Open Graph (og:*) and social preview tags from any public URL. Required scope: `meta:read`. Cost: `1` monthly API credit (automatically refunded on HTTP 4xx errors).",
                "operationId": "postMetaOpenGraph",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "url": {
                                        "type": "string"
                                    }
                                },
                                "example": {
                                    "url": "https://example.com"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/meta/generate": {
            "post": {
                "tags": [
                    "Meta & Structured Data"
                ],
                "summary": "Build clean HTML5 <head>, Open Graph, and Twitter Card meta tags with SEO lint score.",
                "description": "Build clean HTML5 <head>, Open Graph, and Twitter Card meta tags with SEO lint score. Required scope: `meta:read`. Cost: `0` monthly API credits (automatically refunded on HTTP 4xx errors).",
                "operationId": "postMetaGenerate",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "title": {
                                        "type": "string"
                                    },
                                    "description": {
                                        "type": "string"
                                    },
                                    "include_og": {
                                        "type": "boolean"
                                    }
                                },
                                "example": {
                                    "title": "My SaaS Product",
                                    "description": "Fast enterprise SEO analytics.",
                                    "include_og": true
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/meta/faq-schema": {
            "post": {
                "tags": [
                    "Meta & Structured Data"
                ],
                "summary": "Generate valid schema.org FAQPage JSON-LD markup from question/answer pairs.",
                "description": "Generate valid schema.org FAQPage JSON-LD markup from question/answer pairs. Required scope: `meta:read`. Cost: `0` monthly API credits (automatically refunded on HTTP 4xx errors).",
                "operationId": "postMetaFaqSchema",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "items": {
                                        "type": "array"
                                    }
                                },
                                "example": {
                                    "items": [
                                        {
                                            "question": "Is there a REST API?",
                                            "answer": "Yes, scoped Bearer tokens are supported."
                                        }
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/geo/ai-bots": {
            "post": {
                "tags": [
                    "GEO & Technical SEO"
                ],
                "summary": "Audit GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, Google-Extended, and /llms.txt readiness.",
                "description": "Audit GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, Google-Extended, and /llms.txt readiness. Required scope: `geo:read`. Cost: `1` monthly API credit (automatically refunded on HTTP 4xx errors).",
                "operationId": "postGeoAiBots",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "url": {
                                        "type": "string"
                                    }
                                },
                                "example": {
                                    "url": "https://example.com"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/seo/audit": {
            "post": {
                "tags": [
                    "GEO & Technical SEO"
                ],
                "summary": "Run full multi-factor technical and on-page SEO audit with diagnostic breakdown.",
                "description": "Run full multi-factor technical and on-page SEO audit with diagnostic breakdown. Required scope: `seo:read`. Cost: `3` monthly API credits (automatically refunded on HTTP 4xx errors).",
                "operationId": "postSeoAudit",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "url": {
                                        "type": "string"
                                    },
                                    "force_refresh": {
                                        "type": "boolean"
                                    }
                                },
                                "example": {
                                    "url": "https://example.com",
                                    "force_refresh": false
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/seo/ad-conflict": {
            "post": {
                "tags": [
                    "GEO & Technical SEO"
                ],
                "summary": "Compare paid ad copy against organic landing page SEO signals to detect cannibalization/mismatch.",
                "description": "Compare paid ad copy against organic landing page SEO signals to detect cannibalization/mismatch. Required scope: `seo:read`. Cost: `2` monthly API credits (automatically refunded on HTTP 4xx errors).",
                "operationId": "postSeoAdConflict",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "url": {
                                        "type": "string"
                                    },
                                    "ad_copy_a": {
                                        "type": "string"
                                    },
                                    "ad_platform": {
                                        "type": "string"
                                    }
                                },
                                "example": {
                                    "url": "https://example.com",
                                    "ad_copy_a": "Enterprise SEO Audit Platform - Free Trial",
                                    "ad_platform": "Google Search"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/seo/robots-txt": {
            "post": {
                "tags": [
                    "GEO & Technical SEO"
                ],
                "summary": "Generate RFC 9309 compliant robots.txt rules including AI crawler directives and lint diagnostics.",
                "description": "Generate RFC 9309 compliant robots.txt rules including AI crawler directives and lint diagnostics. Required scope: `seo:read`. Cost: `0` monthly API credits (automatically refunded on HTTP 4xx errors).",
                "operationId": "postSeoRobotsTxt",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "all_robots": {
                                        "type": "string"
                                    },
                                    "folders": {
                                        "type": "array"
                                    },
                                    "sitemaps": {
                                        "type": "array"
                                    }
                                },
                                "example": {
                                    "all_robots": "allow",
                                    "folders": [
                                        "/admin/"
                                    ],
                                    "sitemaps": [
                                        "https://example.com/sitemap.xml"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/seo/authority": {
            "post": {
                "tags": [
                    "Authority & Backlinks"
                ],
                "summary": "Lookup Domain Authority (DA), Page Authority (PA), Spam Score, and link metrics.",
                "description": "Lookup Domain Authority (DA), Page Authority (PA), Spam Score, and link metrics. Required scope: `authority:read`. Cost: `2` monthly API credits (automatically refunded on HTTP 4xx errors).",
                "operationId": "postSeoAuthority",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "domain": {
                                        "type": "string"
                                    }
                                },
                                "example": {
                                    "domain": "example.com"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/seo/backlinks": {
            "post": {
                "tags": [
                    "Authority & Backlinks"
                ],
                "summary": "Retrieve backlink and domain authority signals for a public domain or URL.",
                "description": "Retrieve backlink and domain authority signals for a public domain or URL. Required scope: `authority:read`. Cost: `2` monthly API credits (automatically refunded on HTTP 4xx errors).",
                "operationId": "postSeoBacklinks",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "domain": {
                                        "type": "string"
                                    }
                                },
                                "example": {
                                    "domain": "example.com"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/network/dns": {
            "post": {
                "tags": [
                    "Network & Domain Intel"
                ],
                "summary": "Inspect public DNS records (A, AAAA, MX, TXT, NS, CNAME, SOA) for a domain.",
                "description": "Inspect public DNS records (A, AAAA, MX, TXT, NS, CNAME, SOA) for a domain. Required scope: `network:read`. Cost: `1` monthly API credit (automatically refunded on HTTP 4xx errors).",
                "operationId": "postNetworkDns",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "domain": {
                                        "type": "string"
                                    }
                                },
                                "example": {
                                    "domain": "example.com"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/network/http-headers": {
            "post": {
                "tags": [
                    "Network & Domain Intel"
                ],
                "summary": "Fetch HTTP response headers cleanly from any public URL.",
                "description": "Fetch HTTP response headers cleanly from any public URL. Required scope: `network:read`. Cost: `1` monthly API credit (automatically refunded on HTTP 4xx errors).",
                "operationId": "postNetworkHttpHeaders",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "url": {
                                        "type": "string"
                                    }
                                },
                                "example": {
                                    "url": "https://example.com"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/network/redirects": {
            "post": {
                "tags": [
                    "Network & Domain Intel"
                ],
                "summary": "Trace HTTP redirect status and resolved final destination URL.",
                "description": "Trace HTTP redirect status and resolved final destination URL. Required scope: `network:read`. Cost: `1` monthly API credit (automatically refunded on HTTP 4xx errors).",
                "operationId": "postNetworkRedirects",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "url": {
                                        "type": "string"
                                    }
                                },
                                "example": {
                                    "url": "https://example.com"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/network/status": {
            "post": {
                "tags": [
                    "Network & Domain Intel"
                ],
                "summary": "Inspect HTTP status code and page response byte size for a public URL.",
                "description": "Inspect HTTP status code and page response byte size for a public URL. Required scope: `network:read`. Cost: `1` monthly API credit (automatically refunded on HTTP 4xx errors).",
                "operationId": "postNetworkStatus",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "url": {
                                        "type": "string"
                                    }
                                },
                                "example": {
                                    "url": "https://example.com"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/network/whois": {
            "post": {
                "tags": [
                    "Network & Domain Intel"
                ],
                "summary": "Query WHOIS registrar details, nameservers, DNSSEC, creation/expiry dates, and domain age.",
                "description": "Query WHOIS registrar details, nameservers, DNSSEC, creation/expiry dates, and domain age. Required scope: `network:read`. Cost: `1` monthly API credit (automatically refunded on HTTP 4xx errors).",
                "operationId": "postNetworkWhois",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "domain": {
                                        "type": "string"
                                    }
                                },
                                "example": {
                                    "domain": "example.com"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/network/tech-stack": {
            "post": {
                "tags": [
                    "Network & Domain Intel"
                ],
                "summary": "Inspect hosting provider, server IP, WHOIS metadata, and WordPress theme/plugin footprint.",
                "description": "Inspect hosting provider, server IP, WHOIS metadata, and WordPress theme/plugin footprint. Required scope: `network:read`. Cost: `1` monthly API credit (automatically refunded on HTTP 4xx errors).",
                "operationId": "postNetworkTechStack",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "url": {
                                        "type": "string"
                                    }
                                },
                                "example": {
                                    "url": "https://example.com"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/content/keyword-density": {
            "post": {
                "tags": [
                    "Content & Keywords"
                ],
                "summary": "Compute 1-gram, 2-gram, and 3-gram keyword density from a live public URL or raw text.",
                "description": "Compute 1-gram, 2-gram, and 3-gram keyword density from a live public URL or raw text. Required scope: `content:read`. Cost: `1` monthly API credit (automatically refunded on HTTP 4xx errors).",
                "operationId": "postContentKeywordDensity",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "mode": {
                                        "type": "string"
                                    },
                                    "url": {
                                        "type": "string"
                                    },
                                    "exclude_stop_words": {
                                        "type": "boolean"
                                    }
                                },
                                "example": {
                                    "mode": "url",
                                    "url": "https://example.com",
                                    "exclude_stop_words": true
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/content/keyword-suggestions": {
            "post": {
                "tags": [
                    "Content & Keywords"
                ],
                "summary": "Expand seed keywords across Google/YouTube/News/Shopping with intent clusters.",
                "description": "Expand seed keywords across Google/YouTube/News/Shopping with intent clusters. Required scope: `content:read`. Cost: `1` monthly API credit (automatically refunded on HTTP 4xx errors).",
                "operationId": "postContentKeywordSuggestions",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "query": {
                                        "type": "string"
                                    },
                                    "country": {
                                        "type": "string"
                                    },
                                    "language": {
                                        "type": "string"
                                    },
                                    "channel": {
                                        "type": "string"
                                    }
                                },
                                "example": {
                                    "query": "technical seo audit",
                                    "country": "US",
                                    "language": "en",
                                    "channel": "web"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/youtube/channel": {
            "post": {
                "tags": [
                    "YouTube Creator Intel"
                ],
                "summary": "Retrieve channel statistics, engagement benchmarks, and upload metrics.",
                "description": "Retrieve channel statistics, engagement benchmarks, and upload metrics. Required scope: `youtube:read`. Cost: `1` monthly API credit (automatically refunded on HTTP 4xx errors).",
                "operationId": "postYoutubeChannel",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "url": {
                                        "type": "string"
                                    }
                                },
                                "example": {
                                    "url": "https://www.youtube.com/@GoogleDevelopers"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/youtube/video": {
            "post": {
                "tags": [
                    "YouTube Creator Intel"
                ],
                "summary": "Retrieve video views, likes, duration, chapters, and topic metadata.",
                "description": "Retrieve video views, likes, duration, chapters, and topic metadata. Required scope: `youtube:read`. Cost: `1` monthly API credit (automatically refunded on HTTP 4xx errors).",
                "operationId": "postYoutubeVideo",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "url": {
                                        "type": "string"
                                    }
                                },
                                "example": {
                                    "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/youtube/tags": {
            "post": {
                "tags": [
                    "YouTube Creator Intel"
                ],
                "summary": "Extract metadata tags and video details for any public YouTube video.",
                "description": "Extract metadata tags and video details for any public YouTube video. Required scope: `youtube:read`. Cost: `1` monthly API credit (automatically refunded on HTTP 4xx errors).",
                "operationId": "postYoutubeTags",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "url": {
                                        "type": "string"
                                    }
                                },
                                "example": {
                                    "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/workspaces": {
            "get": {
                "tags": [
                    "Workspaces & Monitors"
                ],
                "summary": "List monitored domain workspaces and latest SEO/GEO snapshot scores.",
                "description": "List monitored domain workspaces and latest SEO/GEO snapshot scores. Required scope: `workspaces:read`. Cost: `0` monthly API credits (automatically refunded on HTTP 4xx errors).",
                "operationId": "getWorkspaces",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                }
            }
        },
        "/api/v1/workspaces/{project}/snapshots": {
            "get": {
                "tags": [
                    "Workspaces & Monitors"
                ],
                "summary": "Retrieve recent crawl snapshots and diff summaries for a monitored project.",
                "description": "Retrieve recent crawl snapshots and diff summaries for a monitored project. Required scope: `workspaces:read`. Cost: `0` monthly API credits (automatically refunded on HTTP 4xx errors).",
                "operationId": "getWorkspacesProjectSnapshots",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "parameters": [
                    {
                        "name": "project",
                        "in": "path",
                        "required": true,
                        "description": "Numeric domain workspace project ID",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ]
            }
        },
        "/api/v1/workspaces/{project}/check": {
            "post": {
                "tags": [
                    "Workspaces & Monitors"
                ],
                "summary": "Trigger a live SEO/GEO workspace monitor check and return regression alerts.",
                "description": "Trigger a live SEO/GEO workspace monitor check and return regression alerts. Required scope: `workspaces:write`. Cost: `2` monthly API credits (automatically refunded on HTTP 4xx errors).",
                "operationId": "postWorkspacesProjectCheck",
                "security": [
                    {
                        "BearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful JSON response",
                        "headers": {
                            "X-Request-Id": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "X-Api-Version": {
                                "schema": {
                                    "type": "string",
                                    "example": "1"
                                }
                            },
                            "X-RateLimit-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-RateLimit-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Limit": {
                                "schema": {
                                    "type": "integer"
                                }
                            },
                            "X-Credits-Remaining": {
                                "schema": {
                                    "type": "integer"
                                }
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SuccessEnvelope"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/UnauthorizedError"
                    },
                    "403": {
                        "$ref": "#/components/responses/ForbiddenOrDisabledError"
                    },
                    "422": {
                        "$ref": "#/components/responses/ValidationOrSsrfError"
                    },
                    "429": {
                        "$ref": "#/components/responses/RateOrQuotaExceededError"
                    }
                },
                "parameters": [
                    {
                        "name": "project",
                        "in": "path",
                        "required": true,
                        "description": "Numeric domain workspace project ID",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ]
            }
        }
    },
    "components": {
        "securitySchemes": {
            "BearerAuth": {
                "type": "http",
                "scheme": "bearer",
                "bearerFormat": "mint_live_<token>",
                "description": "Create scoped Bearer tokens (`mint_live_...`) inside your Profile -> API Keys dashboard."
            }
        },
        "schemas": {
            "SuccessEnvelope": {
                "type": "object",
                "properties": {
                    "ok": {
                        "type": "boolean",
                        "example": true
                    },
                    "tool": {
                        "type": "string",
                        "example": "geo-ai-bots"
                    },
                    "data": {
                        "type": "object"
                    }
                }
            },
            "ErrorEnvelope": {
                "type": "object",
                "properties": {
                    "ok": {
                        "type": "boolean",
                        "example": false
                    },
                    "error": {
                        "type": "string",
                        "example": "validation_error"
                    },
                    "message": {
                        "type": "string"
                    },
                    "errors": {
                        "type": "object"
                    }
                }
            }
        },
        "responses": {
            "UnauthorizedError": {
                "description": "Missing, expired, or revoked Bearer API token",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/ErrorEnvelope"
                        }
                    }
                }
            },
            "ForbiddenOrDisabledError": {
                "description": "Missing required scope, suspended account, or API access disabled",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/ErrorEnvelope"
                        }
                    }
                }
            },
            "ValidationOrSsrfError": {
                "description": "Validation failure, SSRF protection block, or upstream error (reserved credits refunded)",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/ErrorEnvelope"
                        }
                    }
                }
            },
            "RateOrQuotaExceededError": {
                "description": "Per-minute burst rate limit or monthly API credit quota exhausted",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/ErrorEnvelope"
                        }
                    }
                }
            }
        }
    }
}