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

# Translate a changelog

> Queue an AI translation of a changelog into one language. Counts against the workspace's AI budget.



## OpenAPI

````yaml openapi-v2.json post /changelogs/{id}/translate
openapi: 3.0.3
info:
  title: Productlane API
  description: Productlane API v2.
  version: 2.0.0
servers:
  - url: https://productlane.com/api/v2
security: []
paths:
  /changelogs/{id}/translate:
    post:
      tags:
        - changelogs
      summary: Translate a changelog
      description: >-
        Queue an AI translation of a changelog into one language. Counts against
        the workspace's AI budget.
      operationId: ai-translateChangelog
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                target_language:
                  type: string
                  minLength: 2
                  maxLength: 10
                  description: BCP-47 language code, for example de or pt-BR.
              required:
                - target_language
              additionalProperties: false
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - queued
                  target_language:
                    type: string
                required:
                  - status
                  - target_language
                additionalProperties: false
        default:
          $ref: '#/components/responses/error'
      security:
        - Authorization: []
components:
  responses:
    error:
      description: Error response
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
              code:
                type: string
              issues:
                type: array
                items:
                  type: object
                  properties:
                    message:
                      type: string
                  required:
                    - message
                  additionalProperties: false
            required:
              - message
              - code
            additionalProperties: false
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.