Vigilia Apps API

The apps Vigilia watches for you.

GitHub OpenAPI

Operations 4

GET /apps List your apps #
GET /apps/{appId} An app's health right now #
POST /apps/{appId}/check-install Check the snippet is installed and allowed to run #
POST /apps/{appId}/deploys Tell Vigilia a new version went live #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/getvigilia-com:getvigilia-com-apps-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

getvigilia-com-apps-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Vigilia Apps API
  version: 1.0.0
  summary: Read your apps and incidents, and mark incidents fixed — the same things the Vigilia dashboard does.
  description: 'Vigilia watches your live app, explains every problem in plain language and writes a fix prompt for your AI builder. This API gives your own scripts and AI agents the same view.


    **Authentication.** Create a personal access token in the dashboard under Settings → API tokens, and send it as `Authorization: Bearer vgs_…`. A token acts as you across every app you own, so keep it secret. Read-only tokens can call every `GET`; changing an incident needs a read & write token.


    **The fix loop.** List your open incidents (worst first), read one — its `fixPrompt` is written for your builder and its `evidence` carries the technical detail — fix it, then `POST …/resolve`. Resolving opens a fix watch: if the error stays away through real traffic for 24 hours, Vigilia confirms the fix (`fix.watch` becomes `verified`).


    **Rate limits.** Per token, per minute: Free 60, Pro 300, Team 600. Free accounts also have 2,000 requests a day across all their tokens (API and MCP together), reset at midnight UTC. Over either limit you get `429` with a `Retry-After` header; the daily one has the code `daily_limit`.


    **Conventions.** Timestamps are epoch milliseconds. Errors are always `{ "error": { "code", "message" } }`. Something that exists but belongs to another account is reported as `404`, never `403`.'
  contact:
    name: Vigilia support
    email: support@getvigilia.com
    url: https://getvigilia.com
servers:
- url: https://app.getvigilia.com/v1
  description: Production
security:
- bearerAuth: []
tags:
- name: Apps
  description: The apps Vigilia watches for you.
paths:
  /apps:
    get:
      tags:
      - Apps
      summary: List your apps
      operationId: listApps
      responses:
        '200':
          description: Every app you own, oldest first.
          content:
            application/json:
              schema:
                type: object
                required:
                - apps
                properties:
                  apps:
                    type: array
                    items:
                      allOf:
                      - $ref: '#/components/schemas/App'
                      - type: object
                        properties:
                          openIncidents:
                            type: integer
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '429':
          $ref: '#/components/responses/RateLimited'
  /apps/{appId}:
    get:
      tags:
      - Apps
      summary: An app's health right now
      description: Uptime, open incidents by severity, today's events and this month's AI diagnosis budget.
      operationId: getApp
      parameters:
      - $ref: '#/components/parameters/AppId'
      responses:
        '200':
          description: The app and its health.
          content:
            application/json:
              schema:
                type: object
                required:
                - app
                properties:
                  app:
                    $ref: '#/components/schemas/AppHealth'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
  /apps/{appId}/check-install:
    post:
      tags:
      - Apps
      summary: Check the snippet is installed and allowed to run
      description: Fetches the app's pages and verifies that vigilia.js is present and that the site's Content-Security-Policy lets it load and report. Any token can run it.
      operationId: checkInstall
      parameters:
      - $ref: '#/components/parameters/AppId'
      responses:
        '200':
          description: The verdict, per address the app runs on.
          content:
            application/json:
              schema:
                type: object
                required:
                - installCheck
                properties:
                  installCheck:
                    type: object
                    properties:
                      checkedAt:
                        type: integer
                      ok:
                        type: boolean
                        description: At least one address serves a working snippet.
                      origins:
                        type: array
                        items:
                          type: object
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
  /apps/{appId}/deploys:
    post:
      tags:
      - Apps
      summary: Tell Vigilia a new version went live
      description: Call it from CI or a deploy hook. Vigilia also notices deploys on its own from the page's build; a marker adds your label (a version or commit) and exact timing. Errors that begin within a day of a deploy say so on their incident (`afterDeploy`). The same label posted twice within ten minutes is treated as one deploy. Needs a read & write token.
      operationId: markDeploy
      parameters:
      - $ref: '#/components/parameters/AppId'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                label:
                  type: string
                  maxLength: 80
                  description: e.g. "v1.4.2" or a commit SHA
      responses:
        '201':
          description: Recorded.
          content:
            application/json:
              schema:
                type: object
                properties:
                  deploy:
                    type: object
                    properties:
                      at:
                        type: integer
                      label:
                        type:
                        - string
                        - 'null'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/InsufficientScope'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  responses:
    NotFound:
      description: No such thing on your account.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Too many requests for this token (`rate_limited`), or a Free account's daily requests are used up (`daily_limit`) — wait `Retry-After` seconds.
      headers:
        Retry-After:
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthenticated:
      description: No token, or not a valid one.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InsufficientScope:
      description: The token is read-only.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    AppHealth:
      allOf:
      - $ref: '#/components/schemas/App'
      - type: object
        properties:
          uptime:
            type: object
            properties:
              status:
                type: string
              lastCheckedAt:
                type:
                - integer
                - 'null'
              lastDownAt:
                type:
                - integer
                - 'null'
              uptimePercentLastHour:
                type:
                - number
                - 'null'
          openIncidents:
            type: object
            properties:
              total:
                type: integer
              critical:
                type: integer
              high:
                type: integer
              medium:
                type: integer
              low:
                type: integer
          events:
            type: object
            properties:
              today:
                type: integer
              total:
                type: integer
              lastEventAt:
                type:
                - integer
                - 'null'
          aiDiagnoses:
            type: object
            description: This month's budget of AI diagnoses for the app. On Free it's the allowance; on paid plans, a fair-use ceiling.
            properties:
              used:
                type: integer
              limit:
                type: integer
              remaining:
                type: integer
              resetsAt:
                type: integer
              kind:
                type: string
                enum:
                - allowance
                - fair-use
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              enum:
              - unauthenticated
              - insufficient_scope
              - not_found
              - invalid_request
              - rate_limited
              - internal
            message:
              type: string
    App:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        url:
          type: string
        builder:
          type: string
          enum:
          - lovable
          - bolt
          - v0
          - cursor
          - claude-code
          - replit
          - other
        createdAt:
          type: integer
        installed:
          type: boolean
          description: Vigilia has received at least one event.
        withinPlan:
          type: boolean
          description: 'False for an app beyond the plan''s app limit: it records, but isn''t diagnosed.'
        uptime:
          type: object
          properties:
            status:
              type: string
              enum:
              - up
              - down
              - unknown
            lastCheckedAt:
              type:
              - integer
              - 'null'
        dashboardUrl:
          type: string
  parameters:
    AppId:
      name: appId
      in: path
      required: true
      schema:
        type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A personal access token (`vgs_…`) from Settings → API tokens.