Clarity Anomalies API

The anomalies API from Clarity — 6 operation(s) for anomalies.

Operations 6

POST /api/v1/anomalies List Anomalies #
POST /api/v1/anomalies/change-status Change Status #
GET /api/v1/anomalies/{anomaly_id}/trend Get Trend #
GET /api/v1/anomalies/{anomaly_id}/stats Get Stats #
POST /api/v1/anomalies/{anomaly_id}/tickets Get Tickets #
POST /api/v1/anomalies/{anomaly_id}/summary Get Summary #

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/onclarity-com:onclarity-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

onclarity-com-anomalies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Anomalies API
  version: 0.1.0
tags:
- name: Anomalies
paths:
  /api/v1/anomalies:
    post:
      tags:
      - Anomalies
      summary: List Anomalies
      operationId: list_anomalies_api_v1_anomalies_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnomaliesRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/anomalies/change-status:
    post:
      tags:
      - Anomalies
      summary: Change Status
      operationId: change_status_api_v1_anomalies_change_status_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChangeStatusRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/anomalies/{anomaly_id}/trend:
    get:
      tags:
      - Anomalies
      summary: Get Trend
      operationId: get_trend_api_v1_anomalies__anomaly_id__trend_get
      security:
      - HTTPBearer: []
      parameters:
      - name: anomaly_id
        in: path
        required: true
        schema:
          type: integer
          title: Anomaly Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/anomalies/{anomaly_id}/stats:
    get:
      tags:
      - Anomalies
      summary: Get Stats
      operationId: get_stats_api_v1_anomalies__anomaly_id__stats_get
      security:
      - HTTPBearer: []
      parameters:
      - name: anomaly_id
        in: path
        required: true
        schema:
          type: integer
          title: Anomaly Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/anomalies/{anomaly_id}/tickets:
    post:
      tags:
      - Anomalies
      summary: Get Tickets
      operationId: get_tickets_api_v1_anomalies__anomaly_id__tickets_post
      security:
      - HTTPBearer: []
      parameters:
      - name: anomaly_id
        in: path
        required: true
        schema:
          type: integer
          title: Anomaly Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TicketsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/anomalies/{anomaly_id}/summary:
    post:
      tags:
      - Anomalies
      summary: Get Summary
      operationId: get_summary_api_v1_anomalies__anomaly_id__summary_post
      security:
      - HTTPBearer: []
      parameters:
      - name: anomaly_id
        in: path
        required: true
        schema:
          type: integer
          title: Anomaly Id
      - name: x-request-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Request-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SummaryRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '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
    TicketsRequest:
      properties:
        filters:
          items:
            $ref: '#/components/schemas/QueryFilter'
          type: array
          title: Filters
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
        sorted_by:
          items:
            $ref: '#/components/schemas/QuerySort'
          type: array
          title: Sorted By
      type: object
      required:
      - filters
      - limit
      - offset
      - sorted_by
      title: TicketsRequest
    ChangeStatusRequest:
      properties:
        id:
          type: integer
          title: Id
        status:
          type: string
          title: Status
          default: archived
      type: object
      required:
      - id
      title: ChangeStatusRequest
    SummaryRequest:
      properties:
        filters:
          items:
            $ref: '#/components/schemas/QueryFilter'
          type: array
          title: Filters
        main_field:
          anyOf:
          - type: string
          - type: 'null'
          title: Main Field
          default: message_text
        additional_fields:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Additional Fields
          default: []
        force_refresh:
          type: boolean
          title: Force Refresh
          default: false
        use_external_urls:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Use External Urls
          default: false
      type: object
      required:
      - filters
      title: SummaryRequest
    AnomaliesRequest:
      properties:
        start_date:
          type: string
          title: Start Date
        end_date:
          anyOf:
          - type: string
          - type: 'null'
          title: End Date
        type:
          anyOf:
          - type: string
          - type: 'null'
          title: Type
        source:
          anyOf:
          - type: string
          - type: 'null'
          title: Source
        category_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Category Id
        anecdote_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Anecdote Id
      type: object
      required:
      - start_date
      title: AnomaliesRequest
    QuerySort:
      properties:
        key:
          type: string
          title: Key
        order:
          anyOf:
          - type: string
            const: asc
          - type: string
            const: desc
          title: Order
          default: asc
      type: object
      required:
      - key
      title: QuerySort
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    QueryFilter:
      properties:
        type:
          anyOf:
          - type: string
            const: exists
          - type: string
            const: list
          - type: string
            const: nested
          - type: string
            const: range
          - type: string
            const: text
          title: Type
        key:
          type: string
          title: Key
        values:
          anyOf:
          - items:
              type: string
            type: array
          - items:
              type: integer
            type: array
          - items:
              additionalProperties: true
              type: object
            type: array
          - type: string
          - type: 'null'
          title: Values
        min:
          anyOf:
          - type: string
          - type: integer
          - type: number
          - type: 'null'
          title: Min
        max:
          anyOf:
          - type: string
          - type: integer
          - type: number
          - type: 'null'
          title: Max
        operator:
          anyOf:
          - type: string
            const: eq
          - type: string
            const: neq
          - type: string
            const: contains
          title: Operator
          default: eq
        generated:
          type: boolean
          title: Generated
          default: false
      type: object
      required:
      - type
      - key
      title: QueryFilter
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
    HTTPBasic:
      type: http
      scheme: basic