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

# POST /admin/api/import



## OpenAPI

````yaml /generated/openapi.json post /admin/api/import
openapi: 3.1.0
info:
  description: >-
    Forwarding, management, portal and OAuth APIs generated from Rust types.
    Input and output schemas preserve their respective Serde contracts.
    Streaming events and WebSocket messages are documented alongside HTTP
    payloads.
  title: GPROXY HTTP API
  version: 4.2.1
servers: []
security:
  - bearer: []
  - anthropicKey: []
  - googleKey: []
  - queryKey: []
paths:
  /admin/api/import:
    post:
      tags:
        - Management
      summary: POST /admin/api/import
      parameters:
        - description: Administrative scope selected by the caller.
          in: header
          name: x-gproxy-admin-scope
          required: false
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Input_ImportRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Output_ImportReportDto'
          description: Success
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Output_Envelope'
          description: Gateway error
      security:
        - consoleSession: []
        - bearer: []
        - anthropicKey: []
        - googleKey: []
components:
  schemas:
    Input_ImportRequest:
      properties:
        export:
          $ref: '#/components/schemas/Input_ConfigurationExportDto'
        mode:
          $ref: '#/components/schemas/Input_ImportMode'
          default: merge
        sourceMasterKey:
          default: null
          description: >-
            The 32-byte master key the source sealed its credentials with, in

            standard base64. With it every secret is opened and resealed under
            this

            instance's codec; without it the blobs are stored verbatim, which
            only

            works if both instances share a key.
          type:
            - string
            - 'null'
      required:
        - export
      type: object
    Output_ImportReportDto:
      description: >-
        What one import did. The counters are rows, across every kind; the
        warnings

        are the things that were silently changed rather than refused, which is
        the

        only place a caller learns that a credential arrived unusable.
      properties:
        created:
          format: uint64
          minimum: 0
          type: integer
        credentialsResealed:
          format: uint64
          minimum: 0
          type: integer
        credentialsSkipped:
          format: uint64
          minimum: 0
          type: integer
        skipped:
          description: >-
            Rows the document named that were not written, which today is
            exactly

            the credentials whose secret could not be opened. What `Replace`

            deleted is reported as a warning instead: a removal is not a skip.
          format: uint64
          minimum: 0
          type: integer
        updated:
          format: uint64
          minimum: 0
          type: integer
        warnings:
          items:
            type: string
          type: array
      required:
        - created
        - updated
        - skipped
        - credentialsResealed
        - credentialsSkipped
        - warnings
      type: object
    Output_Envelope:
      properties:
        error:
          $ref: '#/components/schemas/Output_EnvelopeBody'
      required:
        - error
      type: object
    Input_ConfigurationExportDto:
      description: One instance's configuration as a document.
      properties:
        data:
          $ref: '#/components/schemas/Input_ConfigurationDataDto'
        exportedAtMs:
          format: int64
          type: integer
        formatVersion:
          format: uint32
          minimum: 0
          type: integer
        secrets:
          description: >-
            The sealing codecs the exported blobs actually use, sorted and
            without

            duplicates; empty when the secrets were omitted. An importer reads
            it

            before it starts, to decide whether it needs a source master key at
            all.
          items:
            type: string
          type: array
        secretsOmitted:
          description: |-
            True when the export was taken without secrets: every credential's
            `secret` is null.
          type: boolean
      required:
        - formatVersion
        - exportedAtMs
        - secretsOmitted
        - secrets
        - data
      type: object
    Input_ImportMode:
      description: >-
        What an import does with a row the destination already has under that
        id.
      oneOf:
        - const: merge
          description: >-
            Write every row of the document, leaving anything it does not
            mention

            alone. This is the additive mode: two deployments can be merged.
          type: string
        - const: replace
          description: |-
            The same, and then delete every row of an exported kind that the
            document does not mention. The destination becomes the document.
            Identity, usage and capture tables are never touched by it.
          type: string
    Output_EnvelopeBody:
      properties:
        code:
          type: string
        message:
          type: string
      required:
        - code
        - message
      type: object
    Input_ConfigurationDataDto:
      description: >-
        Every exported table, in the order a fresh instance may replay them: a
        row

        never appears before the row it points at. Each field defaults to empty,
        so

        a document written by a build that knew fewer tables still imports.
      properties:
        connectionProfiles:
          default: []
          items:
            $ref: '#/components/schemas/Input_ConnectionProfileDto'
          type: array
        credentials:
          default: []
          items:
            $ref: '#/components/schemas/Input_ExportCredentialDto'
          type: array
        models:
          default: []
          items:
            $ref: '#/components/schemas/Input_ModelDto'
          type: array
        operationEndpoints:
          default: []
          items:
            $ref: '#/components/schemas/Input_OperationEndpointDto'
          type: array
        operationRules:
          default: []
          items:
            $ref: '#/components/schemas/Input_OperationRuleDto'
          type: array
        priceRates:
          default: []
          items:
            $ref: '#/components/schemas/Input_PriceRateDto'
          type: array
        priceRules:
          default: []
          items:
            $ref: '#/components/schemas/Input_PriceRuleDto'
          type: array
        priceTiers:
          default: []
          items:
            $ref: '#/components/schemas/Input_PriceTierDto'
          type: array
        providerModels:
          default: []
          items:
            $ref: '#/components/schemas/Input_ProviderModelDto'
          type: array
        providerRewriteRuleSets:
          default: []
          items:
            $ref: '#/components/schemas/Input_ProviderRuleSetDto'
          type: array
        providers:
          default: []
          items:
            $ref: '#/components/schemas/Input_ProviderDto'
          type: array
        quotas:
          default: []
          items:
            $ref: '#/components/schemas/Input_QuotaDto'
          type: array
        rewriteRuleSets:
          default: []
          items:
            $ref: '#/components/schemas/Input_RuleSetDto'
          type: array
        rewriteRules:
          default: []
          items:
            $ref: '#/components/schemas/Input_RewriteRuleDto'
          type: array
        routeMembers:
          default: []
          items:
            $ref: '#/components/schemas/Input_RouteMemberDto'
          type: array
        routes:
          default: []
          items:
            $ref: '#/components/schemas/Input_RouteDto'
          type: array
        settings:
          anyOf:
            - $ref: '#/components/schemas/Input_SettingsDto'
            - type: 'null'
          default: null
          description: |-
            The single settings row. `config_revision` travels but is never
            imported: the destination's revision is its own counter.
      type: object
    Input_ConnectionProfileDto:
      additionalProperties: false
      description: >-
        A reusable HTTP transport configuration, independent of outbound proxy
        selection.
      properties:
        backend:
          description: '`reqwest`, `wreq` or `reqwest_native`.'
          type: string
        brotli:
          type: boolean
        connectTimeoutMs:
          format: uint32
          minimum: 0
          type: integer
        createdAtMs:
          format: int64
          type: integer
        deflate:
          type: boolean
        emulation:
          description: >-
            A `gproxy-client` emulation object, or null. wreq applies the full
            identity; other clients apply supported custom fields.
        gzip:
          type: boolean
        id:
          type: string
        name:
          type: string
        poolIdleTimeoutMs:
          format: uint32
          minimum: 0
          type: integer
        poolMaxIdlePerHost:
          format: uint32
          minimum: 0
          type: integer
        redirectMaxHops:
          format: uint32
          minimum: 0
          type: integer
        retry:
          description: '`never` or `default`.'
          type: string
        zstd:
          type: boolean
      required:
        - id
        - name
        - backend
        - gzip
        - brotli
        - deflate
        - zstd
        - redirectMaxHops
        - retry
        - connectTimeoutMs
        - poolIdleTimeoutMs
        - poolMaxIdlePerHost
        - createdAtMs
      type: object
    Input_ExportCredentialDto:
      description: >-
        A credential row plus the sealed bytes behind it. The columns are
        flattened,

        so the object is a [`CredentialDto`] with one field added.
      properties:
        authKind:
          type: string
        connectionProfileId:
          type:
            - string
            - 'null'
        enabled:
          type: boolean
        expiresAtMs:
          format: int64
          type:
            - integer
            - 'null'
        hasSecret:
          type: boolean
        id:
          type: string
        label:
          type:
            - string
            - 'null'
        metadata: true
        organizationId:
          description: 'Opaque to this crate: the application layer decides what owns what.'
          type:
            - string
            - 'null'
        providerId:
          type: string
        proxy:
          default: null
        refreshExpiresAtMs:
          description: >-
            Read-only refresh-token expiry, projected from the sealed secret on
            management reads.

            None means no expiry was reported or the secret could not be read.
          format: int64
          type:
            - integer
            - 'null'
        secret:
          anyOf:
            - $ref: '#/components/schemas/Input_SealedSecretDto'
            - type: 'null'
          default: null
          description: The database column verbatim; null when the export omitted secrets.
        status:
          description: '`active` or `dead`.'
          type: string
        statusReason:
          type:
            - string
            - 'null'
        teamId:
          type:
            - string
            - 'null'
        userId:
          type:
            - string
            - 'null'
        version:
          description: Bumped by every secret or lifecycle write; peers reload on a change.
          format: int64
          type: integer
      required:
        - id
        - providerId
        - authKind
        - hasSecret
        - version
        - metadata
        - status
        - enabled
      type: object
    Input_ModelDto:
      properties:
        id:
          type: string
        metadata: true
        name:
          type: string
        priceRules:
          description: >-
            Saved, enabled rules matching this model, in billing precedence
            order.
          items:
            $ref: '#/components/schemas/Input_PriceRuleDto'
          type:
            - array
            - 'null'
        providers:
          default: []
          items:
            $ref: '#/components/schemas/Input_CatalogProviderDto'
          type: array
        vocabularyFileId:
          type:
            - string
            - 'null'
      required:
        - id
        - name
        - metadata
      type: object
    Input_OperationEndpointDto:
      description: >-
        A complete method URL for one `(operation, dialect, transport)` of one

        provider. It replaces the URL the channel would build, not just its
        host.
      properties:
        dialect:
          description: A `gproxy_protocol::Dialect` id, e.g. `openai`.
          type: string
        enabled:
          type: boolean
        id:
          type: string
        operation:
          type: string
        providerId:
          type: string
        transport:
          description: '`http` or `websocket`.'
          type: string
        url:
          type: string
      required:
        - id
        - providerId
        - operation
        - dialect
        - transport
        - url
        - enabled
      type: object
    Input_OperationRuleDto:
      properties:
        action:
          type: string
        id:
          type: string
        operation:
          description: A `gproxy_protocol::Operation` id, e.g. `generate_content`.
          type: string
        providerId:
          type: string
        target:
          description: Action-specific target, e.g. the destination `OperationKey`.
      required:
        - id
        - providerId
        - operation
        - action
      type: object
    Input_PriceRateDto:
      description: |-
        One billable quantity's price. `value` buys `unit_quantity` units, so a
        per-million token price is `unit_quantity = 1000000`.
      properties:
        conditions:
          description: >-
            None is the fallback rate; otherwise a nonempty object of
            dimensions.
        id:
          type: string
        metric:
          description: A `gproxy_store::entity::pricing::metric` key, or a custom one.
          type: string
        priceRuleId:
          type: string
        priority:
          format: int32
          type: integer
        unit:
          description: '`token`, `count`, `second` or `character`.'
          type: string
        unitQuantity:
          type: string
        value:
          type: string
      required:
        - id
        - priceRuleId
        - metric
        - unit
        - unitQuantity
        - value
        - priority
      type: object
    Input_PriceRuleDto:
      properties:
        currency:
          description: ISO 4217, three letters.
          type: string
        enabled:
          type: boolean
        id:
          type: string
        modelPattern:
          description: A `*`/`?` glob over the upstream model name.
          type: string
        operation:
          description: None covers every operation of the matched model.
          type:
            - string
            - 'null'
        priority:
          format: int32
          type: integer
        providerId:
          description: None prices every provider; a provider rule wins over a global one.
          type:
            - string
            - 'null'
      required:
        - id
        - modelPattern
        - priority
        - currency
        - enabled
      type: object
    Input_PriceTierDto:
      description: |-
        A context or service-tier override inside one rule. Every per-million
        price is optional: None inherits, zero is explicitly free.
      properties:
        audioInputPerMillion:
          type:
            - string
            - 'null'
        audioOutputPerMillion:
          type:
            - string
            - 'null'
        cacheCreationPerMillion:
          default: []
          items:
            $ref: '#/components/schemas/Input_CacheCreationPriceDto'
          type: array
        cacheReadPerMillion:
          type:
            - string
            - 'null'
        cachedAudioInputPerMillion:
          type:
            - string
            - 'null'
        id:
          type: string
        imageInputPerMillion:
          type:
            - string
            - 'null'
        imageOutputPerMillion:
          type:
            - string
            - 'null'
        inputPerMillion:
          type:
            - string
            - 'null'
        minPromptTokens:
          format: int64
          type: integer
        multiplier:
          type:
            - string
            - 'null'
        outputPerMillion:
          type:
            - string
            - 'null'
        priceRuleId:
          type: string
        priority:
          format: int32
          type: integer
        reasoningPerMillion:
          type:
            - string
            - 'null'
        serviceTier:
          description: >-
            None is a context tier; otherwise `standard`, `priority`, `flex`, …
            .
          type:
            - string
            - 'null'
        videoInputPerMillion:
          type:
            - string
            - 'null'
        videoPerMillion:
          type:
            - string
            - 'null'
      required:
        - id
        - priceRuleId
        - minPromptTokens
        - priority
      type: object
    Input_ProviderModelDto:
      properties:
        enabled:
          type: boolean
        hasPrice:
          description: >-
            A saved enabled provider or global price rule matches; populated by
            reads.
          type:
            - boolean
            - 'null'
        id:
          type: string
        metadata: true
        modelId:
          type:
            - string
            - 'null'
        priceRules:
          description: >-
            Saved, enabled rules matching this model, in billing precedence
            order.
          items:
            $ref: '#/components/schemas/Input_PriceRuleDto'
          type:
            - array
            - 'null'
        providerId:
          type: string
        upstreamName:
          description: The name this provider's upstream answers to, not the public one.
          type: string
      required:
        - id
        - providerId
        - upstreamName
        - metadata
        - enabled
      type: object
    Input_ProviderRuleSetDto:
      description: A rule set attached to a provider, in attachment order.
      properties:
        createdAtMs:
          format: int64
          type: integer
        enabled:
          type: boolean
        id:
          type: string
        providerId:
          type: string
        ruleSetId:
          type: string
        sortOrder:
          format: int64
          type: integer
        updatedAtMs:
          format: int64
          type: integer
      required:
        - id
        - providerId
        - ruleSetId
        - sortOrder
        - enabled
        - createdAtMs
        - updatedAtMs
      type: object
    Input_ProviderDto:
      properties:
        baseUrl:
          type:
            - string
            - 'null'
        channel:
          description: |-
            The channel implementation this provider speaks through; must be one
            of `Gproxy::channels()`.
          type: string
        config:
          description: Channel-specific configuration; always a JSON object.
        connectionProfileId:
          type:
            - string
            - 'null'
        createdAtMs:
          format: int64
          type: integer
        displayName:
          default: null
          type:
            - string
            - 'null'
        enabled:
          type: boolean
        id:
          type: string
        name:
          description: Invocation URL prefix.
          type: string
        proxy:
          default: null
        requestTimeoutMs:
          description: >-
            Upstream response wait in milliseconds; None inherits the global
            setting.
          format: uint32
          minimum: 0
          type:
            - integer
            - 'null'
        streamIdleTimeoutMs:
          description: >-
            Maximum stream silence in milliseconds; None inherits the global
            setting.
          format: uint32
          minimum: 0
          type:
            - integer
            - 'null'
      required:
        - id
        - name
        - channel
        - config
        - enabled
        - createdAtMs
      type: object
    Input_QuotaDto:
      description: >-
        One configured budget or operator limit. `owner_kind` is a free string:

        `user`, `api_key`, `team`, `org` and `pool` are caller budgets the host

        names per request, while `credential` and `provider` are operator limits
        on

        upstream accounts. Both live in one table because both are windows over
        a

        metric.
      properties:
        anchorAtMs:
          format: int64
          type:
            - integer
            - 'null'
        enabled:
          type: boolean
        id:
          type: string
        limitValue:
          type: string
        metric:
          description: '`cost` for a budget; `requests` or `cost` for a limit.'
          type: string
        modelPattern:
          description: >-
            A `*`/`?` glob over the upstream model name; absent covers
            everything.
          type:
            - string
            - 'null'
        ownerId:
          type: string
        ownerKind:
          type: string
        period:
          description: '`5h`, `1d`, `7d`, `1m`, `total`, or anything with `period_seconds`.'
          type: string
        periodSeconds:
          format: int64
          type:
            - integer
            - 'null'
        unit:
          description: '`USD` for cost, `count` for requests.'
          type: string
        windowKey:
          description: Stable key within the owner, e.g. `primary`.
          type: string
      required:
        - id
        - ownerKind
        - ownerId
        - windowKey
        - metric
        - unit
        - limitValue
        - period
        - enabled
      type: object
    Input_RuleSetDto:
      properties:
        createdAtMs:
          format: int64
          type: integer
        description:
          type:
            - string
            - 'null'
        enabled:
          type: boolean
        id:
          type: string
        name:
          type: string
        providerCount:
          description: Number of provider attachments, populated by list/get.
          format: uint64
          minimum: 0
          type:
            - integer
            - 'null'
        updatedAtMs:
          format: int64
          type: integer
      required:
        - id
        - name
        - enabled
        - createdAtMs
        - updatedAtMs
      type: object
    Input_RewriteRuleDto:
      description: |-
        One ordered replacement. Every write compiles the rule with core's own
        compiler first, so a rule that would be skipped at assembly is refused
        here instead of silently doing nothing.
      properties:
        action:
          default: replace
          type: string
        createdAtMs:
          format: int64
          type: integer
        enabled:
          type: boolean
        filterBody:
          default: null
        filterEventPattern:
          type:
            - string
            - 'null'
        filterHeader:
          default: null
        filterHeaderPattern:
          type:
            - string
            - 'null'
        filterModelPattern:
          type:
            - string
            - 'null'
        filterOperationKeys:
          description: 'JSON array of `{"operation": …, "dialect": …}`.'
        id:
          type: string
        paths:
          description: JSON array of dot paths; body target only.
        pattern:
          type: string
        phase:
          description: '`request`, `response` or `both`.'
          type: string
        replacement:
          type: string
        ruleSetId:
          type: string
        sortOrder:
          format: int64
          type: integer
        target:
          description: '`body`, `header` or `query`.'
          type: string
        targetName:
          type:
            - string
            - 'null'
        updatedAtMs:
          format: int64
          type: integer
      required:
        - id
        - ruleSetId
        - phase
        - target
        - pattern
        - replacement
        - sortOrder
        - enabled
        - createdAtMs
        - updatedAtMs
      type: object
    Input_RouteMemberDto:
      properties:
        enabled:
          type: boolean
        id:
          type: string
        providerId:
          type: string
        routeId:
          type: string
        tier:
          description: Lower tiers are preferred; later tiers are the fallback.
          format: uint32
          minimum: 0
          type: integer
        upstreamModel:
          description: The upstream model this member sends, not a catalog reference.
          type: string
        weight:
          description: Positive relative weight within a tier.
          format: uint32
          minimum: 0
          type: integer
      required:
        - id
        - routeId
        - providerId
        - upstreamModel
        - tier
        - weight
        - enabled
      type: object
    Input_RouteDto:
      properties:
        enabled:
          type: boolean
        id:
          type: string
        maxAttempts:
          format: uint32
          minimum: 0
          type: integer
        name:
          description: The exact model name clients send in requests.
          type: string
        sessionAffinity:
          default: false
          type: boolean
        strategy:
          description: '`round_robin`, `weighted` or `failover`.'
          type: string
      required:
        - id
        - name
        - strategy
        - maxAttempts
        - enabled
      type: object
    Input_SettingsDto:
      properties:
        instance:
          $ref: '#/components/schemas/Input_InstanceSettingsDto'
        logging:
          $ref: '#/components/schemas/Input_LoggingSettingsDto'
      required:
        - instance
        - logging
      type: object
    Input_SealedSecretDto:
      description: >-
        A sealed secret as it travels: the envelope's own codec, and its bytes
        in

        standard base64. Nothing here is plaintext, and nothing here can be
        opened

        without the key the source sealed it with.
      properties:
        bytes:
          type: string
        codec:
          description: |-
            `plaintext`, `aes-gcm`, or `unknown` for an envelope this build does
            not recognize. Carried so an importer can refuse early rather than
            after decrypting nothing.
          type: string
      required:
        - codec
        - bytes
      type: object
    Input_CatalogProviderDto:
      properties:
        displayName:
          type:
            - string
            - 'null'
        id:
          type: string
        name:
          type: string
      required:
        - id
        - name
      type: object
    Input_CacheCreationPriceDto:
      description: A cache-write price per million tokens. No TTL is the fallback price.
      properties:
        price:
          type: string
        ttlSeconds:
          default: null
          format: uint64
          minimum: 0
          type:
            - integer
            - 'null'
      required:
        - price
      type: object
    Input_InstanceSettingsDto:
      additionalProperties: false
      description: >-
        Identity, network, execution limits and maintenance. `config_revision`
        is

        read-only: it is the write path's own counter.
      properties:
        allowedHeaders:
          default: []
        alwaysSecureCookie:
          default: false
          description: Absent in an export from a build without it, which reads as off.
          type: boolean
        capturePayloadMaxMb:
          default: 2048
          format: int64
          type:
            - integer
            - 'null'
        capturePayloadRetentionDays:
          default: 7
          format: uint32
          minimum: 0
          type:
            - integer
            - 'null'
        configRevision:
          format: int64
          type: integer
        connectionProfileId:
          type:
            - string
            - 'null'
        corsOrigins: true
        defaultVocabularyFileId:
          type:
            - string
            - 'null'
        enableAutoUpdateCheck:
          type: boolean
        enableSettlement:
          type: boolean
        enableTokenizerDownload:
          type: boolean
        enableTokenizerVocabs:
          type: boolean
        enableUsage:
          type: boolean
        hasTokenizerAuthToken:
          description: |-
            The vocabulary source token is sealed like a credential secret; only
            its presence is reported.
          type: boolean
        instanceName:
          type: string
        maxAttempts:
          format: uint32
          minimum: 0
          type: integer
        maxDatabaseSizeMb:
          format: int64
          type:
            - integer
            - 'null'
        maxMultipartParts:
          default: 64
          format: uint32
          minimum: 0
          type: integer
        maxRequestBodyBytes:
          default: 134217728
          format: int64
          type: integer
        maxResponseBodyBytes:
          default: 268435456
          format: int64
          type: integer
        maxStreamEventBytes:
          default: 33554432
          format: int64
          type: integer
        maxUploadBodyBytes:
          default: 536870912
          format: int64
          type: integer
        maxWsFrameBytes:
          default: 33554432
          format: int64
          type: integer
        oauthClientAllowlist: true
        portalRecentRequestsEnabled:
          type: boolean
        proxy:
          default: null
        quotaObservationRetentionDays:
          default: 90
          description: |-
            Days of upstream quota observations to keep; None keeps them all.
            Cycles are never pruned. Absent in an older export, which reads as
            the 90-day default.
          format: uint32
          minimum: 0
          type:
            - integer
            - 'null'
        requestTimeoutMs:
          default: 1200000
          format: uint32
          minimum: 0
          type: integer
        retentionDays:
          description: Days of completed request captures to keep; None keeps them all.
          format: uint32
          minimum: 0
          type:
            - integer
            - 'null'
        streamIdleTimeoutMs:
          default: 300000
          format: uint32
          minimum: 0
          type: integer
        trustedProxies: true
        updateChannel:
          type:
            - string
            - 'null'
        updateSource:
          type:
            - string
            - 'null'
        updateVerifySignature:
          type:
            - boolean
            - 'null'
        usageRetentionDays:
          default: null
          description: |-
            Days of usage records to keep; None keeps them all. Usage statistics
            and totals are computed from these. Absent in an older export, which
            reads as keeping everything.
          format: uint32
          minimum: 0
          type:
            - integer
            - 'null'
      required:
        - instanceName
        - corsOrigins
        - trustedProxies
        - maxAttempts
        - enableSettlement
        - enableUsage
        - configRevision
        - enableTokenizerVocabs
        - enableTokenizerDownload
        - hasTokenizerAuthToken
        - enableAutoUpdateCheck
        - portalRecentRequestsEnabled
      type: object
    Input_LoggingSettingsDto:
      properties:
        disableLogRedaction:
          type: boolean
        enableDownstreamLog:
          type: boolean
        enableDownstreamLogBody:
          type: boolean
        enableTracing:
          type: boolean
        enableUpstreamLog:
          type: boolean
        enableUpstreamLogBody:
          type: boolean
        logFormat:
          type: string
        logLevel:
          type: string
        queryParameterBlacklist: true
        requestHeaderBlacklist: true
        responseHeaderBlacklist: true
      required:
        - enableDownstreamLog
        - enableDownstreamLogBody
        - enableUpstreamLog
        - enableUpstreamLogBody
        - disableLogRedaction
        - enableTracing
        - logLevel
        - logFormat
        - requestHeaderBlacklist
        - responseHeaderBlacklist
        - queryParameterBlacklist
      type: object
  securitySchemes:
    bearer:
      scheme: bearer
      type: http
    anthropicKey:
      in: header
      name: x-api-key
      type: apiKey
    googleKey:
      in: header
      name: x-goog-api-key
      type: apiKey
    queryKey:
      in: query
      name: key
      type: apiKey
    consoleSession:
      in: cookie
      name: gproxy_session
      type: apiKey

````

## Related topics

- [POST /admin/api/providers](https://gproxy.leenhawk.com/api-reference/management/post-adminapiproviders.md)
- [POST /admin/api/providers/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapiprovidersbatch.md)
- [POST /admin/api/api-keys](https://gproxy.leenhawk.com/api-reference/management/post-adminapiapi-keys.md)
- [POST /admin/api/fonts](https://gproxy.leenhawk.com/api-reference/management/post-adminapifonts.md)
- [POST /admin/api/credentials](https://gproxy.leenhawk.com/api-reference/management/post-adminapicredentials.md)


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