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

# Save an article draft



## OpenAPI

````yaml https://api.gleap.io/api-docs.json put /helpcenter/collections/{helpcenterCollectionId}/articles/{helpcenterArticleId}/draft
openapi: 3.0.0
info:
  title: gleap-server
  version: 14.0.0
  contact: {}
servers:
  - url: https://api.gleap.io/v3
security: []
paths:
  /helpcenter/collections/{helpcenterCollectionId}/articles/{helpcenterArticleId}/draft:
    put:
      tags:
        - Help center articles
      summary: Save an article draft
      operationId: SaveHelpcenterArticleDraft
      parameters:
        - in: path
          name: helpcenterArticleId
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HelpcenterArticleDraftDto'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema: {}
      security:
        - jwt: []
components:
  schemas:
    HelpcenterArticleDraftDto:
      description: >-
        Staged edits to a PUBLISHED help center article that are not yet live.
        One mutable

        working copy per article (unique on `article`). The live article keeps
        serving its own

        `content` until the draft is published (promoted) — see
        HelpcenterArticleDraftService

        and HelpcenterArticleService.publishDraft. Kept in its own collection
        (not embedded on

        the article, not in the append-only versions collection) so the public
        read path and

        the immutable version history are both untouched.
      properties:
        title: {}
        description: {}
        content: {}
        plainContent: {}
        targetAudience:
          type: string
        tags:
          items:
            type: string
          type: array
        author: {}
        expectedDraftVersion:
          type: number
          format: double
          description: >-
            Optimistic-concurrency token for the draft itself. When provided,
            the upsert only

            applies if the stored draft's `draftVersion` still matches;
            otherwise 409 (mirrors the

            live-article guard) so two people editing the same draft don't
            clobber each other.
      type: object
      additionalProperties: false
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT

````