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

# Register Feedback



## OpenAPI

````yaml POST /api/v1/prompt/feedback/
openapi: 3.1.0
info:
  title: Thrads API
  description: Thrads API
  version: 0.0.1
servers:
  - url: https://dev.thrads.ai
    description: Production API server
security: []
paths:
  /api/v1/prompt/feedback/:
    post:
      tags:
        - Prompt V1
        - sponsored-prompt-feedback
      summary: Submit Sponsored Prompt Feedback
      operationId: sponsored_chatbot_prompt_feedback_api_v1_prompt_feedback__post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SponsoredChatbotPromptFeedbackRequest'
        required: true
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIResponse'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIErrorResponse'
        '404':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIErrorResponse'
        '422':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIValidationErrorResponse'
        '500':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIErrorResponse'
components:
  schemas:
    SponsoredChatbotPromptFeedbackRequest:
      properties:
        sponsored_prompt_id:
          type: string
          title: Sponsored Prompt ID
          description: ID of the sponsored prompt the feedback refers to
        clicked:
          type: boolean
          title: Clicked
          description: Whether the user clicked the sponsored prompt link
        number_follow_ups:
          type: integer
          title: Number of Follow Ups
          description: How many follow-up messages occurred after showing the prompt
        is_sponsor_mentioned:
          type: boolean
          title: Is Sponsor Mentioned
          description: Whether the sponsor was mentioned in the subsequent conversation
        summary:
          type: string
          title: Summary
          description: Short summary of the user interaction or feedback context
      additionalProperties: false
      type: object
      required:
        - sponsored_prompt_id
        - clicked
        - number_follow_ups
        - is_sponsor_mentioned
        - summary
      title: SponsoredChatbotPromptFeedbackRequest
      description: Request model for submitting feedback on sponsored chatbot prompts
    APIResponse:
      properties:
        apiVersion:
          type: string
          title: API Version
          description: Version of the Thrads API being used
        requestId:
          type: string
          title: Request ID
          description: Unique identifier for this API request for tracking and debugging
        timestamp:
          type: string
          format: date-time
          title: Timestamp
          description: ISO 8601 timestamp when the response was generated
        docsUrl:
          type: string
          title: Documentation URL
          description: URL to the API documentation for reference
        totalTime:
          type: number
          title: Total Time
          description: Total processing time for the request in seconds
        status:
          type: string
          enum:
            - success
          title: Status
          description: Always 'success' for successful requests
        message:
          type: string
          title: Message
          description: Human-readable message describing the successful response
        data:
          type: object
          title: Data
          description: Response payload containing the requested data
      type: object
      required:
        - apiVersion
        - requestId
        - timestamp
        - docsUrl
        - totalTime
        - status
        - message
        - data
      title: APIResponse
      description: ''
    APIErrorResponse:
      properties:
        apiVersion:
          type: string
          title: API Version
          description: Version of the Thrads API being used
        requestId:
          type: string
          title: Request ID
          description: Unique identifier for this API request for tracking and debugging
        timestamp:
          type: string
          format: date-time
          title: Timestamp
          description: ISO 8601 timestamp when the error response was generated
        docsUrl:
          type: string
          title: Documentation URL
          description: URL to the API documentation for reference
        totalTime:
          type: number
          title: Total Time
          description: Total processing time before the error occurred in seconds
        status:
          type: string
          enum:
            - error
          title: Status
          description: Always 'error' for error responses
        message:
          type: string
          title: Message
          description: Human-readable error message describing what went wrong
        data:
          type: object
          title: Data
          description: Always empty object for error responses
        error:
          type: object
          properties:
            type:
              type: string
              title: Error Type
              description: Type of error that occurred
            code:
              type: integer
              title: Error Code
              description: Numeric error code for programmatic handling
          required:
            - type
            - code
          title: Error Details
          description: Structured error information with type and code
      type: object
      required:
        - apiVersion
        - requestId
        - timestamp
        - docsUrl
        - totalTime
        - status
        - message
        - data
        - error
      title: APIErrorResponse
      description: >-
        Standard error response wrapper for failed API requests with detailed
        error information
    APIValidationErrorResponse:
      properties:
        apiVersion:
          type: string
          title: API Version
          description: Version of the Thrads API being used
        requestId:
          type: string
          title: Request ID
          description: Unique identifier for this API request for tracking and debugging
        timestamp:
          type: string
          format: date-time
          title: Timestamp
          description: ISO 8601 timestamp when the validation error occurred
        docsUrl:
          type: string
          title: Documentation URL
          description: URL to the API documentation for reference
        totalTime:
          type: number
          title: Total Time
          description: Total processing time before validation failed in seconds
        status:
          type: string
          enum:
            - error
          title: Status
          description: Always 'error' for validation error responses
        message:
          type: string
          title: Message
          description: Human-readable validation error message
        data:
          type: object
          title: Data
          description: Always empty object for validation error responses
        error:
          type: object
          properties:
            detail:
              type: array
              items:
                $ref: '#/components/schemas/ValidationError'
              title: Detail
              description: List of validation errors with field locations and messages
          required:
            - detail
          title: Validation Error Details
          description: Structured validation error information
      type: object
      required:
        - apiVersion
        - requestId
        - timestamp
        - docsUrl
        - totalTime
        - status
        - message
        - data
        - error
      title: APIValidationErrorResponse
      description: >-
        Standard validation error response wrapper with detailed field
        validation errors
    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

````