> ## Documentation Index
> Fetch the complete documentation index at: https://developers.aquilax.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Feedback

> Proxies feedback for a specific AI model request for a given Chat message.




## OpenAPI

````yaml get /api/v2/ai/feedback/{request_id}/{status}
openapi: 3.0.0
info:
  title: AquilaX AI API Docs
  version: '2.0'
  description: >
    Welcome to the API documentation for AquilaX. Integrate AquilaX for advanced
    data processing and analytics in your applications. Key features include
    seamless data ingestion, powerful processing capabilities, analytics tools,
    real-time updates, and robust security measures. Get started with API keys,
    explore endpoints, understand formats, and implement error
    handling.Authorization is required for all end-points, excluding the one
    under Public Section. To authenticate, a Personal Access Token `PAT` must be
    included in the request header with the name `X-AX-KEY`. Happy coding!
servers:
  - url: https://aquilax.ai
    description: Cloud Instance
security:
  - ApiKeyAuth: []
tags:
  - name: Health
    description: Endpoints for metrics and health check
  - name: Profile
    description: Endpoints for managing user profiles
  - name: Public Scan
    description: Endpoints for scanning a public git repo
  - name: Admin
    description: Endpoints for AquilaX Worker
paths:
  /api/v2/ai/feedback/{request_id}/{status}:
    get:
      tags:
        - AI Feedback
      summary: Feedback
      description: >
        Proxies feedback for a specific AI model request for a given Chat
        message.
      operationId: submitAIFeedback
      parameters:
        - name: request_id
          in: path
          required: true
          description: Unique identifier of the AI request to provide feedback for
          schema:
            type: string
            format: uuid
            example: 77e81bbc-3e7f-47b9-87fa-681b5d2f54e6
        - name: status
          in: path
          required: true
          description: Feedback status for the request
          schema:
            type: string
            enum:
              - 'true'
              - 'false'
            example: 'false'
        - name: org
          in: query
          required: true
          description: Organization identifier
          schema:
            type: string
            example: 65dd3e835a669e3347654200
        - name: group
          in: query
          required: true
          description: Group identifier
          schema:
            type: string
            example: 67e86d036e9921509f730483
      responses:
        '200':
          description: Feedback submitted successfully
        '400':
          description: Bad request - Invalid parameters
          content:
            text/plain:
              schema:
                type: string
                example: A valid organization_id is required in the URL path
        '401':
          description: Unauthorized - Invalid authentication
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden - Insufficient permissions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found - Request ID not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            text/plain:
              schema:
                type: string
                example: Failed to make request to downstream API
        '502':
          description: Bad gateway - Downstream service error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Service unavailable - Downstream service unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '504':
          description: Gateway timeout - Downstream service timeout
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      description: Schema for error responses.
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-AX-KEY

````