AdvisorPPC Anomalies API

The anomalies API from AdvisorPPC — 2 operation(s) for anomalies.

Operations 2

GET /api/anomalies List Open Flags #
POST /api/anomalies/{flag_id}/ack Acknowledge Flag #

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/advisorppc-com:advisorppc-com-anomalies-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

advisorppc-com-anomalies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AdvisorPPC Anomalies API
  version: 0.1.0
tags:
- name: Anomalies
paths:
  /api/anomalies:
    get:
      tags:
      - Anomalies
      summary: List Open Flags
      operationId: list_open_flags_api_anomalies_get
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnomalyListOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/anomalies/{flag_id}/ack:
    post:
      tags:
      - Anomalies
      summary: Acknowledge Flag
      operationId: acknowledge_flag_api_anomalies__flag_id__ack_post
      security:
      - HTTPBearer: []
      parameters:
      - name: flag_id
        in: path
        required: true
        schema:
          type: integer
          title: Flag Id
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AckOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    AnomalyListOut:
      properties:
        flags:
          items:
            $ref: '#/components/schemas/AnomalyFlagOut'
          type: array
          title: Flags
      type: object
      required:
      - flags
      title: AnomalyListOut
    AnomalyFlagOut:
      properties:
        id:
          type: integer
          title: Id
        provider:
          type: string
          title: Provider
        campaign_external_id:
          type: string
          title: Campaign External Id
        account_ref:
          type: string
          title: Account Ref
        account_label:
          type: string
          title: Account Label
        metric:
          type: string
          title: Metric
        day:
          type: string
          format: date
          title: Day
        observed:
          type: number
          title: Observed
        baseline_mean:
          anyOf:
          - type: number
          - type: 'null'
          title: Baseline Mean
        baseline_std:
          anyOf:
          - type: number
          - type: 'null'
          title: Baseline Std
        sigma:
          anyOf:
          - type: number
          - type: 'null'
          title: Sigma
        direction:
          type: string
          title: Direction
        status:
          type: string
          title: Status
        alerted_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Alerted At
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
      - id
      - provider
      - campaign_external_id
      - account_ref
      - account_label
      - metric
      - day
      - observed
      - baseline_mean
      - baseline_std
      - sigma
      - direction
      - status
      - alerted_at
      - created_at
      title: AnomalyFlagOut
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AckOut:
      properties:
        id:
          type: integer
          title: Id
        status:
          type: string
          title: Status
        hold_cleared:
          type: boolean
          title: Hold Cleared
      type: object
      required:
      - id
      - status
      - hold_cleared
      title: AckOut
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer