Navigation
VigilbaseDocs

    Type at least two letters.

    Open Vigilbase One

    Docs API

    Search and read these docs from a script or agent through api.vigilbase.com/docs/v1, or through the search_docs and get_docs_page MCP tools.

    The Docs API searches and returns the pages of docs.vigilbase.com. Agents can use it to answer questions about Vigilbase from the current docs. It needs no account or key.

    TopicDetails
    Base URLhttps://api.vigilbase.com/docs/v1
    OpenAPIhttps://api.vigilbase.com/docs/v1/openapi.json
    AuthenticationNone
    Rate limit60 requests a minute per client IP
    LanguageEnglish
    MCPsearch_docs and get_docs_page on the MCP server

    Search the docs

    GET/search returns the pages that contain every word of q, best first. Matches in a title rank first, then matches in a heading, then the description, then the body text.

    ParameterRequiredDetails
    qYesThe words to find, 2 to 200 characters. Only the first eight words count.
    limitNoThe most results to return, 1 to 20. The default is 10.
    search.shBash
    curl -sS 'https://api.vigilbase.com/docs/v1/search?q=api+keys&limit=3'
    
    response.jsonJSON
    {
      "results": [
        {
          "path": "tools/developers/api-keys",
          "title": "API keys",
          "description": "Create a developer API key to raise the Agent API rate limits.",
          "url": "https://docs.vigilbase.com/tools/developers/api-keys",
          "markdownUrl": "https://docs.vigilbase.com/tools/developers/api-keys.md"
        }
      ]
    }
    

    When the match is under a heading, the result also has heading (id and text), and url points to that heading.

    Read a page

    GET/pages?path=<path> returns one page as Markdown. path is the page URL without the host, as in a search result's path. Leave it empty for the docs home.

    page.shBash
    curl -sS 'https://api.vigilbase.com/docs/v1/pages?path=one/api'
    

    The response has path, title, description, url, markdownUrl, markdown and, when it is known, updatedAt. Links in markdown are absolute. The same Markdown is also at the page URL plus .md, for example https://docs.vigilbase.com/one/api.md.

    Errors and limits

    Errors are application/problem+json (RFC 9457) with a code:

    StatusCodeCause
    400bad_requestq is missing or too short, limit is out of range, or path is not a docs path
    404not_foundNo published page has that path
    429rate_limit_exceededMore than 60 requests in a minute from one client IP. Retry-After says when to try again.
    503service_unavailableThe rate limiter is unavailable. Retry after a few seconds.

    Every response carries RateLimit and RateLimit-Policy headers. Any origin may call the API from a browser.

    Was this page helpful?