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

# Save per-field selections onto an existing querying policy.

> Persist per-field selections onto an existing querying policy.

Replaces the policy's per-model and per-field selections with the
submitted set. The policy is left in ``published`` status.



## OpenAPI

````yaml PUT /v1/networks/policies/querying/{policy_id}/configuration
openapi: 3.1.0
info:
  title: SOLO Network API
  version: v1
servers:
  - url: https://api.solo.one
    description: Production
  - url: https://api.sandbox.solo.one
    description: Sandbox
security: []
paths:
  /v1/networks/policies/querying/{policy_id}/configuration:
    put:
      tags:
        - Querying Policies
      summary: Save per-field selections onto an existing querying policy.
      description: |-
        Persist per-field selections onto an existing querying policy.

        Replaces the policy's per-model and per-field selections with the
        submitted set. The policy is left in ``published`` status.
      operationId: >-
        save_querying_policy_configuration_v1_networks_policies_querying__policy_id__configuration_put
      parameters:
        - name: policy_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Policy Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SaveQueryingPolicyConfigurationInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SaveQueryingPolicyConfigurationResult'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    SaveQueryingPolicyConfigurationInput:
      properties:
        model_selections:
          items:
            $ref: '#/components/schemas/ModelSelectionInput'
          type: array
          title: Model Selections
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
      type: object
      required:
        - model_selections
      title: SaveQueryingPolicyConfigurationInput
      description: Body of ``PUT /networks/policies/querying/{policy_id}/configuration``.
    SaveQueryingPolicyConfigurationResult:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
        status:
          type: string
          title: Status
      type: object
      required:
        - id
        - name
        - status
      title: SaveQueryingPolicyConfigurationResult
      description: Response for the configuration save endpoint.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ModelSelectionInput:
      properties:
        product_model_definition_id:
          type: string
          format: uuid
          title: Product Model Definition Id
        field_selections:
          items:
            $ref: '#/components/schemas/FieldSelectionInput'
          type: array
          title: Field Selections
      type: object
      required:
        - product_model_definition_id
        - field_selections
      title: ModelSelectionInput
      description: Per-model wizard payload.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    FieldSelectionInput:
      properties:
        product_field_definition_id:
          type: string
          format: uuid
          title: Product Field Definition Id
        is_enabled:
          type: boolean
          title: Is Enabled
        selected_provenance_option_ids:
          items:
            type: string
            format: uuid
          type: array
          title: Selected Provenance Option Ids
        boolean_choice:
          anyOf:
            - type: string
            - type: 'null'
          title: Boolean Choice
      type: object
      required:
        - product_field_definition_id
        - is_enabled
        - selected_provenance_option_ids
      title: FieldSelectionInput
      description: One row of the wizard's per-field configuration.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````