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

# Get AI Instructions for Language

> Retrieves the organization description and all AI instructions for a specific language.



## OpenAPI

````yaml GET /api/public/ai-instructions/{lang}
openapi: 3.0.0
info:
  title: Prismy API
  description: API for managing translations with Prismy
  version: 1.0.0
servers:
  - url: https://app.prismy.io
    description: Production server
security:
  - bearerAuth: []
paths:
  /api/public/ai-instructions/{lang}:
    get:
      tags:
        - Public API
      summary: Get AI instructions for a language
      description: >-
        Retrieves the organization description and all AI instructions for a
        specific language.
      operationId: getAiInstructionsForLang
      parameters:
        - name: lang
          in: path
          required: true
          schema:
            type: string
          description: Language code (e.g., en-US, fr-FR, es-ES)
          example: fr-FR
      responses:
        '200':
          description: AI instructions retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiInstructionsResponse'
        '401':
          description: Unauthorized - Invalid or missing API token
components:
  schemas:
    AiInstructionsResponse:
      type: object
      properties:
        language:
          type: string
          description: The resolved language code
          example: fr-FR
        orgDescription:
          type: string
          description: The organization description providing context about your product
          example: Prismy is a translation management platform for software teams.
        instructions:
          type: array
          items:
            type: object
            properties:
              id:
                type: integer
                description: Unique identifier of the instruction
                example: 42
              prompt:
                type: string
                description: The AI instruction text
                example: Use 'vous' instead of 'tu' to maintain a professional tone.
              source:
                type: string
                description: Source of the instruction (e.g., github, intercom)
                example: github
              repository:
                type: string
                nullable: true
                description: Scoped repository name, if any
                example: my-repo
              bundle:
                type: string
                nullable: true
                description: Scoped bundle name, if any
                example: dashboard
              bundlePattern:
                type: string
                nullable: true
                description: Scoped bundle pattern, if any
                example: null
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: API token from your organization settings

````