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

# Get template history

> Returns the template's edit history, newest first: saves with their version and the settings that changed, preview letters, and sent proposals with the job



## OpenAPI

````yaml get /proposal-templates/{id}/history
openapi: 3.0.4
info:
  title: Vollna API
  description: API for managing Upwork profiles, proposals, results, and filters
  version: 1.0.0
servers:
  - url: https://api.vollna.com/v1
security: []
tags:
  - name: Profiles
    description: Manage Upwork profiles
  - name: Proposals
    description: Access and manage Upwork proposals
  - name: Results
    description: View monitoring results and projects
  - name: Filters
    description: Manage monitoring filters
  - name: Auto Bidding
    description: Manage auto bidding jobs and setups
  - name: Account
    description: The token team's account, plan and meters
  - name: Invitations
    description: Upwork invitations
  - name: Projects
    description: Upwork jobs and their competition
  - name: AI Qualifier
    description: A filter's AI qualifier and its verdicts
  - name: Market Insights
    description: Upwork market analytics and saved searches
  - name: Proposal Templates
    description: Proposal templates and their results
paths:
  /proposal-templates/{id}/history:
    get:
      tags:
        - Proposal Templates
      summary: Get template history
      description: >-
        Returns the template's edit history, newest first: saves with their
        version and the settings that changed, preview letters, and sent
        proposals with the job
      parameters:
        - name: id
          in: path
          required: true
          description: Template ID
          schema:
            type: integer
        - name: type
          in: query
          required: false
          description: One kind of entry, or letters for every entry with a cover letter
          schema:
            type: string
            enum:
              - saved
              - generated
              - sent
              - letters
        - name: cursor
          in: query
          required: false
          description: nextCursor of the previous page
          schema:
            type: string
        - name: limit
          in: query
          required: false
          description: Entries per page
          schema:
            type: integer
            minimum: 1
            maximum: 50
            default: 20
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      events:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                            type:
                              type: string
                              enum:
                                - saved
                                - generated
                                - sent
                            version:
                              type: integer
                            createdAt:
                              type: string
                              format: date-time
                            user:
                              type: object
                              properties:
                                id:
                                  type: integer
                                name:
                                  type: string
                                impersonated:
                                  type: boolean
                                  description: >-
                                    Vollna support saved it from the user's
                                    account
                              nullable: true
                            changed:
                              type: array
                              description: >-
                                Dot paths of the settings that changed against
                                the save before
                              items:
                                type: string
                              nullable: true
                            variant:
                              type: string
                              enum:
                                - A
                                - B
                              nullable: true
                            model:
                              type: string
                              nullable: true
                            letterExcerpt:
                              type: string
                              nullable: true
                              description: Cut at 600 characters
                            job:
                              type: object
                              properties:
                                originalId:
                                  type: integer
                                title:
                                  type: string
                                  nullable: true
                                url:
                                  type: string
                                  nullable: true
                              nullable: true
                      nextCursor:
                        type: string
                        nullable: true
                        description: Pass as cursor for the next page
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      security:
        - apiToken: []
components:
  responses:
    BadRequest:
      description: >-
        Invalid request. message says what to send instead; fields names each
        invalid field
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ServiceError'
    Unauthorized:
      description: Missing or unknown API token
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    PaymentRequired:
      description: The team's subscription is not active
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: >-
        The plan has no API access, or the token team may not do this. message
        says why
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ServiceError'
    NotFound:
      description: Not found in the token's team
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ServiceError'
    TooManyRequests:
      description: More than 30 requests a minute. See Rate Limiting
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    ServiceError:
      type: object
      properties:
        error:
          type: string
          description: Short error title
          example: Validation failed
        message:
          type: string
          description: What went wrong and what to send instead, written for the user
        fields:
          type: object
          description: >-
            Per-field messages keyed by dot path, when several fields fail at
            once
          additionalProperties:
            type: string
    Error:
      type: object
      properties:
        error:
          type: string
  securitySchemes:
    apiToken:
      type: apiKey
      name: X-API-TOKEN
      in: header
      description: API token for authentication

````

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