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

# Inquire

> Performs a visual search using a base64 encoded image in a specified project



## OpenAPI

````yaml POST /inquire
openapi: 3.0.1
info:
  title: Moonshine API
  description: Video Understanding API
  version: 1.0.0
servers:
  - url: https://api.usemoonshine.com
security: []
paths:
  /inquire:
    post:
      description: >-
        Performs a visual search using a base64 encoded image in a specified
        project
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - token
                - index
                - prompt
              properties:
                token:
                  type: string
                  description: User authentication token
                  minLength: 60
                index:
                  type: string
                  description: Name of the media index
                  minLength: 60
                prompt:
                  type: string
                  description: Main search/inquiry prompt
                  minLength: 1
                guidance:
                  type: string
                  description: Additional guidance for the AI analysis
                  default: ''
                target:
                  type: string
                  description: Specific timestamp to focus on
                target_video:
                  type: string
                  description: Specific video ID to focus on
            example:
              project_id: abc123...xyz789
              image: data:image/jpeg;base64,/9j/4AAQSkZJRg...
      responses:
        '200':
          description: Successful analysis response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - complete
                    description: Status of the analysis
                  output:
                    type: string
                    description: AI-generated analysis response
        '400':
          description: Invalid request or insufficient credits
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Project not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string

````