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

# Update Parse Config

> Rename a saved config, replace its whole config, or both. An empty body changes nothing.



## OpenAPI

````yaml /api-reference/v2/openapi.yml patch /parse/configs/{config_id}
openapi: 3.1.0
info:
  title: Pulse API
  description: >-
    Agentic document infrastructure for the enterprise. The Pulse API turns
    complex documents into AI-ready data, such as Markdown, structured JSON and
    bounding boxes.
  version: '2'
servers:
  - url: https://api.runpulse.com
    description: Default Pulse API base URL
security: []
tags:
  - name: Parse
    description: Parse a document's text, tables and figures.
  - name: Batch parse
    description: Parse many documents with one config.
  - name: Extract
    description: Extract structured data from a parsed document.
  - name: Split
    description: Find each topic's pages in a parsed document.
  - name: Tables
    description: Merge a parsed document's tables across pages.
  - name: Charts
    description: Read the charts in a parsed document.
  - name: Classify
    description: Sort a document into the categories you define.
  - name: Pipeline
    description: Run a parse and its follow-on steps as one job.
  - name: Usage
    description: Check the pages and credits your organization has used.
  - name: Webhook
    description: Get notified when your organization's jobs change status.
  - name: Organization settings
    description: Read and change your organization's name, address and default API version.
paths:
  /parse/configs/{config_id}:
    patch:
      tags:
        - Parse
      summary: Update Parse Config
      description: >-
        Rename a saved config, replace its whole config, or both. An empty body
        changes nothing.
      operationId: updateParseConfig
      parameters:
        - name: config_id
          in: path
          required: true
          schema:
            type: string
            description: The saved config's `config_id`.
            title: Config Id
          description: The saved config's `config_id`.
        - name: Pulse-Version
          in: header
          required: false
          schema:
            type: string
            default: '2'
            title: Pulse-Version
          examples:
            default:
              value: '2'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                name:
                  minLength: 1
                  title: Name
                  type: string
                config:
                  $ref: '#/components/schemas/ParseConfig'
              title: ParseConfigUpdateRequest
              type: object
      responses:
        '200':
          description: The config, as changed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ParseConfigResponse'
        '400':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: >-
            The request is invalid
            ([`REQUEST_INVALID`](https://docs.runpulse.com/errors/request-invalid));
            `errors` names each refused field. `Pulse-Version` names a version
            this API doesn't serve
            ([`UNSUPPORTED_VERSION`](https://docs.runpulse.com/errors/unsupported-version)).
          headers:
            X-Request-Id:
              description: The request's id; the problem's `request_id`.
              schema:
                type: string
          x-pulse-errors:
            - REQUEST_INVALID
            - UNSUPPORTED_VERSION
        '401':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: >-
            No valid credentials
            ([`CREDENTIALS_INVALID`](https://docs.runpulse.com/errors/credentials-invalid)),
            or an inactive API key
            ([`API_KEY_INACTIVE`](https://docs.runpulse.com/errors/api-key-inactive)).
          headers:
            X-Request-Id:
              description: The request's id; the problem's `request_id`.
              schema:
                type: string
          x-pulse-errors:
            - CREDENTIALS_INVALID
            - API_KEY_INACTIVE
        '403':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: >-
            Your account is suspended
            ([`ACCOUNT_SUSPENDED`](https://docs.runpulse.com/errors/account-suspended)).
          headers:
            X-Request-Id:
              description: The request's id; the problem's `request_id`.
              schema:
                type: string
          x-pulse-errors:
            - ACCOUNT_SUSPENDED
        '404':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: >-
            Your organization has nothing with this id
            ([`RESOURCE_NOT_FOUND`](https://docs.runpulse.com/errors/resource-not-found)).
            No endpoint answers this path
            ([`ROUTE_NOT_FOUND`](https://docs.runpulse.com/errors/route-not-found)).
          headers:
            X-Request-Id:
              description: The request's id; the problem's `request_id`.
              schema:
                type: string
          x-pulse-errors:
            - RESOURCE_NOT_FOUND
            - ROUTE_NOT_FOUND
        '500':
          description: >-
            An unexpected error on Pulse's side
            ([`SERVER_ERROR`](https://docs.runpulse.com/errors/server-error));
            retry.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
          headers:
            X-Request-Id:
              description: The request's id; the problem's `request_id`.
              schema:
                type: string
          x-pulse-errors:
            - SERVER_ERROR
        '503':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: >-
            A service the request needs couldn't be reached
            ([`SERVICE_UNAVAILABLE`](https://docs.runpulse.com/errors/service-unavailable));
            retry. On a self-hosted install that hasn't been activated yet,
            [`LICENSE_NOT_ACTIVATED`](https://docs.runpulse.com/errors/license-not-activated).
            On a self-hosted install whose license is invalid or expired,
            [`LICENSE_INVALID`](https://docs.runpulse.com/errors/license-invalid).
          headers:
            X-Request-Id:
              description: The request's id; the problem's `request_id`.
              schema:
                type: string
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: string
          x-pulse-errors:
            - SERVICE_UNAVAILABLE
            - LICENSE_NOT_ACTIVATED
            - LICENSE_INVALID
      security:
        - ApiKey: []
components:
  schemas:
    ParseConfig:
      additionalProperties: false
      description: The options for a parse.
      properties:
        model:
          description: The model to parse with.
          enum:
            - ultra-2
          title: Model
          type: string
        storage:
          $ref: '#/components/schemas/Storage'
          description: Whether the result is saved, and where.
        page_range:
          description: >-
            The pages to parse, listed as numbers and ranges from 1, such as
            `1-3, 6, 8-end` (`end` is the last page). Defaults to every page. A
            spreadsheet's pages are its sheets, hidden ones included.
          pattern: ^ *[0-9]+ *(- *([0-9]+|end) *)?(, *[0-9]+ *(- *([0-9]+|end) *)?)*$
          title: Page Range
          type: string
        prompt:
          description: Extra instructions for reading the document, added to Pulse's own.
          minLength: 1
          title: Prompt
          type: string
        extensions:
          $ref: '#/components/schemas/Extensions'
          default:
            additional_formats: []
            footnotes: false
            document_metadata: false
            word_level_bounding_boxes: false
            chunking:
              strategies: []
          description: Extra outputs to add to the result.
        enhancements:
          $ref: '#/components/schemas/Enhancements'
          default:
            detect: []
            figures:
              describe: []
              include: false
              prompt: null
            refine:
              modes: []
            spreadsheet:
              cell_formatting: false
              include_hidden: []
              raw_values: false
              trim_empty: []
      required:
        - model
      title: ParseConfig { model, storage, page_range, 3 more }
      type: object
    ParseConfigResponse:
      properties:
        config_id:
          type: string
          title: Config Id
        name:
          type: string
          title: Name
        config:
          $ref: '#/components/schemas/ParseConfig'
        created_at:
          type: string
          title: Created At
        updated_at:
          type: string
          title: Updated At
      additionalProperties: false
      type: object
      required:
        - config_id
        - name
        - config
        - created_at
        - updated_at
      title: ParseConfigResponse
    Problem:
      additionalProperties: false
      description: >-
        Why the request or the job failed. Branch on `code`; quote `request_id`
        to support.
      properties:
        type:
          description: 'This code''s page: what it means and what to do.'
          title: Type
          type: string
        title:
          description: A short summary of the code, the same for every occurrence.
          title: Title
          type: string
        status:
          description: The HTTP status the code answers with.
          title: Status
          type: integer
        detail:
          description: What happened this time.
          title: Detail
          type: string
        instance:
          description: 'This occurrence: the request''s URN, `urn:pulse:request:<id>`.'
          title: Instance
          type: string
        code:
          description: The stable error code, e.g. `REQUEST_INVALID`. Branch on it.
          title: Code
          type: string
        request_id:
          description: >-
            The request that failed, as `X-Request-Id` named it; for a failed
            job, the request that created it. Quote it to support.
          title: Request Id
          type: string
        retryable:
          description: Whether the same request may succeed if sent again.
          title: Retryable
          type: boolean
        retry_after:
          description: Seconds to wait before retrying, as `Retry-After` says.
          title: Retry After
          type: integer
        errors:
          description: Each refused part of the request.
          items:
            $ref: '#/components/schemas/FieldIssue'
          title: Errors
          type: array
        resource:
          description: 'What wasn''t found: `job`, `batch`, `webhook`, `config`, …'
          title: Resource
          type: string
        reason:
          description: The cause within the code.
          title: Reason
          type: string
        parse_id:
          description: The parse the request recorded.
          title: Parse Id
          type: string
        extract_id:
          description: The extraction it recorded.
          title: Extract Id
          type: string
        split_id:
          description: The split it recorded.
          title: Split Id
          type: string
        classify_id:
          description: The classification it recorded.
          title: Classify Id
          type: string
        tables_id:
          description: The tables job it recorded.
          title: Tables Id
          type: string
        charts_id:
          description: The charts job it recorded.
          title: Charts Id
          type: string
        pipeline_id:
          description: The pipeline it recorded.
          title: Pipeline Id
          type: string
        batch_id:
          description: The batch it recorded.
          title: Batch Id
          type: string
        filename:
          description: The file refused.
          title: Filename
          type: string
        declared_type:
          description: The type its name declared.
          title: Declared Type
          type: string
        detected:
          description: The type its contents are.
          title: Detected
          type: string
        supported_types:
          description: The types accepted.
          items:
            type: string
          title: Supported Types
          type: array
        supported:
          description: The values accepted.
          items:
            type: string
          title: Supported
          type: array
        max_size_mb:
          anyOf:
            - type: integer
            - type: number
          description: The largest size accepted.
          title: Max Size Mb
        file_size_mb:
          anyOf:
            - type: integer
            - type: number
          description: The file's size.
          title: File Size Mb
        plan_name:
          description: Your organization's plan.
          title: Plan Name
          type: string
        pages_used:
          anyOf:
            - type: integer
            - type: number
          description: Pages used this period.
          title: Pages Used
        page_allowance:
          anyOf:
            - type: integer
            - type: number
          description: Pages the plan allows.
          title: Page Allowance
        upgrade_url:
          description: Where to change your plan.
          title: Upgrade Url
          type: string
        action_required:
          description: What to do to continue.
          title: Action Required
          type: string
        billing_info:
          additionalProperties:
            $ref: '#/components/schemas/JsonValue'
          description: Your organization's billing state, as the gate read it.
          title: Billing Info
          type: object
      required:
        - type
        - title
        - status
        - code
        - retryable
      title: Problem
      type: object
    Storage:
      additionalProperties: false
      description: >-
        Whether the result is saved to your organization's Pulse dashboard, and
        in which folder.
      properties:
        save:
          description: >-
            `true` saves the result, and `false` keeps it only until
            `expires_at`, 24 hours by default. If omitted, it's saved unless
            your organization turned saving off, which also overrides `true`.
            Free plans can't send `false`.
          title: Save
          type: boolean
        folder_id:
          description: >-
            The dashboard folder to save the result in. Sending it saves the
            result, so it's refused with `save: false`. Another organization's
            folder is ignored.
          minLength: 1
          title: Folder Id
          type: string
      title: Storage { save, folder_id }
      type: object
    Extensions:
      additionalProperties: false
      description: >-
        Extra outputs to add to the result, each under the result's
        `extensions`.
      properties:
        additional_formats:
          default: []
          description: >-
            Other formats to return the document in, under
            `extensions.additional_formats`. Choose from `html` (the Markdown as
            HTML), `xml` (the elements, by page) and `tagged_md` (the Markdown
            with element ids).
          items:
            enum:
              - html
              - xml
              - tagged_md
            type: string
          title: Additional Formats
          type: array
        footnotes:
          default: false
          description: >-
            Set to `true` to find the document's footnotes and link each one to
            the elements that cite it, in `extensions.footnotes`.
          title: Footnotes
          type: boolean
        document_metadata:
          default: false
          description: >-
            Set to `true` to return the metadata the file carries, such as its
            title, authors or a PDF's form fields, in
            `extensions.document_metadata`.
          title: Document Metadata
          type: boolean
        word_level_bounding_boxes:
          default: false
          description: >-
            Set to `true` to return every word with its outline, as `Word`
            elements in `extensions.word_level_bounding_boxes`. This option must
            be enabled for your organization.
          title: Word Level Bounding Boxes
          type: boolean
        chunking:
          $ref: '#/components/schemas/Chunking'
          default:
            strategies: []
      title: Extensions { additional_formats, footnotes, document_metadata, 2 more }
      type: object
    Enhancements:
      additionalProperties: false
      description: Optional passes that add to the parse or correct it.
      properties:
        detect:
          default: []
          description: >-
            Send `["selections"]` to detect checkboxes, radio buttons and
            similar controls, and mark each ticked one `selected: true`.
          items:
            const: selections
            type: string
          title: Detect
          type: array
        figures:
          $ref: '#/components/schemas/Figures'
          default:
            describe: []
            include: false
            prompt: null
          description: Descriptions and images of the document's figures.
        refine:
          $ref: '#/components/schemas/Refine'
          default:
            modes: []
          description: Passes that correct the parse.
        spreadsheet:
          $ref: '#/components/schemas/Spreadsheet'
          default:
            include_hidden: []
            trim_empty: []
            raw_values: false
            cell_formatting: false
          description: Options for spreadsheets.
      title: Enhancements { detect, figures, refine, 1 more }
      type: object
    FieldIssue:
      additionalProperties: false
      description: One refused part of the request.
      properties:
        field:
          description: >-
            The part as sent: a body field's path
            (`config.enhancements.detect[1]`), or `query.<name>` /
            `header.<name>`.
          title: Field
          type: string
        pointer:
          description: >-
            A body field as a JSON Pointer (RFC 6901), e.g.
            `#/config/enhancements/detect/1`. Absent for a query parameter or
            header.
          title: Pointer
          type: string
        issue:
          description: What is wrong with it.
          title: Issue
          type: string
      required:
        - field
        - issue
      title: FieldIssue
      type: object
    JsonValue: {}
    Chunking:
      additionalProperties: false
      properties:
        strategies:
          default: []
          items:
            $ref: '#/components/schemas/SemanticStrategy'
          title: Strategies
          type: array
      title: Chunking
      type: object
    Figures:
      additionalProperties: false
      description: >-
        What to return for the document's figures: its charts, diagrams, photos
        and other pictures.
      properties:
        describe:
          default: []
          description: >-
            Send `["all"]` to describe every figure in its `description`. A
            figure that can't be described gets none, with a
            `FIGURE_DESCRIPTIONS_SKIPPED` warning on the result.
          items:
            const: all
            type: string
          title: Describe
          type: array
        include:
          default: false
          description: >-
            Set to `true` to return each figure's image, base64-encoded, in its
            `figure_base64`.
          title: Include
          type: boolean
        prompt:
          description: >-
            Extra instructions for the figure descriptions. Used only with
            `describe`.
          minLength: 1
          title: Prompt
          type: string
      title: Figures { describe, include, prompt }
      type: object
    Refine:
      additionalProperties: false
      description: Passes that check the parse against the page images and correct it.
      properties:
        modes:
          default: []
          description: >-
            The passes to run, each mode at most once. A page they can't correct
            is returned as parsed, with a `REFINE_SKIPPED` warning on the
            result.
          items:
            $ref: '#/components/schemas/RefineMode'
          title: Modes
          type: array
      title: Refine
      type: object
    Spreadsheet:
      additionalProperties: false
      description: Options for spreadsheets. Other documents ignore them.
      properties:
        include_hidden:
          default: []
          description: >-
            The hidden `rows`, `columns` or `sheets` to read. By default, hidden
            parts are skipped.
          items:
            enum:
              - rows
              - columns
              - sheets
            type: string
          title: Include Hidden
          type: array
        trim_empty:
          default: []
          description: >-
            Send `rows`, `columns` or both to drop empty but formatted ones past
            a sheet's last value. Some exported workbooks carry thousands of
            them. Kept cells keep their addresses. Applies to `.xlsx` and
            `.xlsm` files only.
          items:
            enum:
              - rows
              - columns
            type: string
          title: Trim Empty
          type: array
        raw_values:
          default: false
          description: >-
            Set to `true` to add each cell's underlying value as its
            `raw_value`, such as `1201.67` where `content` shows `$1,202`.
          title: Raw Values
          type: boolean
        cell_formatting:
          default: false
          description: >-
            Set to `true` to add each cell's formatting (font, fill, borders and
            alignment) as its `style`.
          title: Cell Formatting
          type: boolean
      title: Spreadsheet { include_hidden, trim_empty, raw_values, 1 more }
      type: object
    SemanticStrategy:
      additionalProperties: false
      description: >-
        Chunks cut where the meaning of neighboring sentences drifts apart. A
        chunk longer than

        `max_characters` is cut again. Without `max_characters`, chunk length
        has no cap.
      properties:
        strategy:
          const: semantic
          title: Strategy
          type: string
        max_characters:
          maximum: 100000
          minimum: 20
          title: Max Characters
          type: integer
      required:
        - strategy
      title: SemanticStrategy { strategy, max_characters }
      type: object
    RefineMode:
      additionalProperties: false
      description: >-
        One pass that checks the parsed content against the page images and
        corrects it.
      properties:
        mode:
          description: >-
            `tables` fixes cells and structure. `formatting` fixes bold,
            headings, lists and math, not words. `text` fixes misread words and
            numbers, not formatting. `layout` fixes a figure or table read as
            the wrong kind.
          enum:
            - tables
            - formatting
            - text
            - layout
          title: Mode
          type: string
        prompt:
          description: >-
            Extra instructions for this pass. A prompt sent with `layout` is
            refused (`REQUEST_INVALID`).
          minLength: 1
          title: Prompt
          type: string
      required:
        - mode
      title: RefineMode { mode, prompt }
      type: object
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key

````

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