Cayra Report Feedback API

The report-feedback API from Cayra — 1 operation(s) for report-feedback.

Operations 1

POST /api/v1/report-feedback Notify Cayra team about a reported query #

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/cayra-io:cayra-io-report-feedback-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

cayra-io-report-feedback-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cayra License Server Report Feedback API
  description: '# Cayra Chat Agent - License Management Server


    Centralized license management for on-premise deployments.


    ## Features


    - 🔑 License key generation (installation, update, trial)

    - ⏰ Dynamic expiry management (extend/shorten licenses)

    - 🔄 Activation tracking and monitoring

    - 💓 Heartbeat mechanism (1-hour intervals)

    - 📊 Audit logging for compliance

    - 🔐 JWT tokens with RSA-4096 encryption


    ## API Categories


    ### Admin Endpoints (Requires API Key)

    Manage licenses, view activations, update expiry dates.


    ### Client Endpoints (Public)

    Activate licenses, send heartbeats, check status.


    ## Authentication


    Admin endpoints require API key in header:

    ```

    X-Admin-API-Key: your-admin-key-here

    ```


    ## Security


    - 🔒 RSA-4096 asymmetric encryption

    - 🔐 JWT tokens for offline validation

    - 📝 Complete audit trail

    - 🛡️ Rate limiting (Phase 6)'
  contact:
    name: Cayra AI Team
    email: support@cayra.ai
  license:
    name: Proprietary
  version: 1.0.0
tags:
- name: report-feedback
paths:
  /api/v1/report-feedback:
    post:
      tags:
      - report-feedback
      summary: Notify Cayra team about a reported query
      description: Called by mcp_server when a user marks a query as 'wrong answer'. Validates the license key and sends a Slack notification to Cayra's internal channel.
      operationId: report_feedback_api_v1_report_feedback_post
      parameters:
      - name: X-License-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-License-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReportFeedbackRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReportFeedbackResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ReportFeedbackResponse:
      properties:
        success:
          type: boolean
          title: Success
        message:
          type: string
          title: Message
      type: object
      required:
      - success
      - message
      title: ReportFeedbackResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ReportFeedbackRequest:
      properties:
        notification_type:
          type: string
          title: Notification Type
          description: '''report'' for user reports, ''error'' for system errors'
          default: report
        company_name:
          type: string
          title: Company Name
          description: Human-readable company / customer name
          default: unknown
        db_name:
          type: string
          title: Db Name
          description: Database name
          default: unknown
        question:
          type: string
          title: Question
          description: The question the user asked (for reports)
          default: ''
        environment:
          type: string
          title: Environment
          description: '''cloud'' or ''on-prem'''
          default: unknown
        error_type:
          type: string
          title: Error Type
          description: Error class name (e.g. SchemaRepairError)
          default: ''
        error_message:
          type: string
          title: Error Message
          description: Error detail message
          default: ''
      type: object
      title: ReportFeedbackRequest
      description: Payload sent by mcp_server when a user reports a query or a critical error occurs.