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

# Update log repository

> Update log repository



## OpenAPI

````yaml /public-apis/openapi/log-repositories.json put /v1/log-repositories
openapi: 3.0.0
info:
  version: 1.0.0
  contact:
    name: Maxim Engineering
    email: eng@getmaxim.ai
  title: Maxim SDK API - log-repositories
  description: API documentation for Maxim SDK log-repositories endpoints
servers:
  - url: https://api.getmaxim.ai
security: []
paths:
  /v1/log-repositories:
    put:
      tags:
        - Log repository
      summary: Update log repository
      description: Update log repository
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: Log repository ID to fetch specific repository
                name:
                  type: string
                  description: Name of the log repository
                description:
                  type: string
                  description: Description of the log respository
                folderId:
                  type: string
                  nullable: true
                  description: Optional ID of the folder containing the repository
                customPricingStructureId:
                  type: string
                  description: Optional custom pricing structure ID
              required:
                - id
                - name
      responses:
        '200':
          description: Log repository updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/LogRepository'
                required:
                  - data
        '400':
          description: Invalid request parameters
        '404':
          description: Log repository not found
      security:
        - ApiKeyAuth: []
components:
  schemas:
    LogRepository:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type: string
        workspaceId:
          type: string
        folderId:
          type: string
        config:
          type: object
          properties: {}
        customPricingStructureId:
          type: string
        createdAt:
          type: string
        updatedAt:
          type: string
      required:
        - id
        - name
        - workspaceId
        - createdAt
        - updatedAt
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-maxim-api-key
      description: API key for authentication

````