> ## 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/export



## OpenAPI

````yaml /generated/openapi.json post /admin/api/export
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/export:
    post:
      tags:
        - Management
      summary: POST /admin/api/export
      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_ExportRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Output_ConfigurationExportDto'
          description: Success
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Output_Envelope'
          description: Gateway error
      security:
        - consoleSession: []
        - bearer: []
        - anthropicKey: []
        - googleKey: []
components:
  schemas:
    Input_ExportRequest:
      properties:
        includeSecrets:
          default: false
          description: >-
            Whether the sealed credential blobs travel with the configuration.
            An

            export without them still restores every row; the credentials simply

            arrive unable to authenticate until someone logs in again.
          type: boolean
      type: object
    Output_ConfigurationExportDto:
      description: One instance's configuration as a document.
      properties:
        data:
          $ref: '#/components/schemas/Output_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
    Output_Envelope:
      properties:
        error:
          $ref: '#/components/schemas/Output_EnvelopeBody'
      required:
        - error
      type: object
    Output_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/Output_ConnectionProfileDto'
          type: array
        credentials:
          default: []
          items:
            $ref: '#/components/schemas/Output_ExportCredentialDto'
          type: array
        models:
          default: []
          items:
            $ref: '#/components/schemas/Output_ModelDto'
          type: array
        operationEndpoints:
          default: []
          items:
            $ref: '#/components/schemas/Output_OperationEndpointDto'
          type: array
        operationRules:
          default: []
          items:
            $ref: '#/components/schemas/Output_OperationRuleDto'
          type: array
        priceRates:
          default: []
          items:
            $ref: '#/components/schemas/Output_PriceRateDto'
          type: array
        priceRules:
          default: []
          items:
            $ref: '#/components/schemas/Output_PriceRuleDto'
          type: array
        priceTiers:
          default: []
          items:
            $ref: '#/components/schemas/Output_PriceTierDto'
          type: array
        providerModels:
          default: []
          items:
            $ref: '#/components/schemas/Output_ProviderModelDto'
          type: array
        providerRewriteRuleSets:
          default: []
          items:
            $ref: '#/components/schemas/Output_ProviderRuleSetDto'
          type: array
        providers:
          default: []
          items:
            $ref: '#/components/schemas/Output_ProviderDto'
          type: array
        quotas:
          default: []
          items:
            $ref: '#/components/schemas/Output_QuotaDto'
          type: array
        rewriteRuleSets:
          default: []
          items:
            $ref: '#/components/schemas/Output_RuleSetDto'
          type: array
        rewriteRules:
          default: []
          items:
            $ref: '#/components/schemas/Output_RewriteRuleDto'
          type: array
        routeMembers:
          default: []
          items:
            $ref: '#/components/schemas/Output_RouteMemberDto'
          type: array
        routes:
          default: []
          items:
            $ref: '#/components/schemas/Output_RouteDto'
          type: array
        settings:
          anyOf:
            - $ref: '#/components/schemas/Output_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.
      required:
        - connectionProfiles
        - providers
        - credentials
        - models
        - providerModels
        - routes
        - routeMembers
        - operationRules
        - operationEndpoints
        - rewriteRuleSets
        - rewriteRules
        - providerRewriteRuleSets
        - quotas
        - priceRules
        - priceRates
        - priceTiers
        - settings
      type: object
    Output_EnvelopeBody:
      properties:
        code:
          type: string
        message:
          type: string
      required:
        - code
        - message
      type: object
    Output_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
        - emulation
        - gzip
        - brotli
        - deflate
        - zstd
        - redirectMaxHops
        - retry
        - connectTimeoutMs
        - poolIdleTimeoutMs
        - poolMaxIdlePerHost
        - createdAtMs
      type: object
    Output_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/Output_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
        - organizationId
        - teamId
        - userId
        - label
        - authKind
        - hasSecret
        - version
        - connectionProfileId
        - proxy
        - metadata
        - expiresAtMs
        - refreshExpiresAtMs
        - status
        - statusReason
        - enabled
        - secret
      type: object
    Output_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/Output_PriceRuleDto'
          type:
            - array
            - 'null'
        providers:
          default: []
          items:
            $ref: '#/components/schemas/Output_CatalogProviderDto'
          type: array
        vocabularyFileId:
          type:
            - string
            - 'null'
      required:
        - providers
        - id
        - name
        - metadata
        - vocabularyFileId
      type: object
    Output_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
    Output_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
        - target
      type: object
    Output_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
        - conditions
        - priority
      type: object
    Output_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
        - providerId
        - modelPattern
        - operation
        - priority
        - currency
        - enabled
      type: object
    Output_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/Output_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
        - serviceTier
        - minPromptTokens
        - priority
        - multiplier
        - inputPerMillion
        - outputPerMillion
        - cacheReadPerMillion
        - cacheCreationPerMillion
        - reasoningPerMillion
        - imageInputPerMillion
        - imageOutputPerMillion
        - audioInputPerMillion
        - cachedAudioInputPerMillion
        - audioOutputPerMillion
        - videoInputPerMillion
        - videoPerMillion
      type: object
    Output_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/Output_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
        - modelId
        - metadata
        - enabled
      type: object
    Output_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
    Output_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
        - displayName
        - channel
        - baseUrl
        - connectionProfileId
        - requestTimeoutMs
        - streamIdleTimeoutMs
        - proxy
        - config
        - enabled
        - createdAtMs
      type: object
    Output_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
        - periodSeconds
        - anchorAtMs
        - modelPattern
        - enabled
      type: object
    Output_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
        - description
        - enabled
        - createdAtMs
        - updatedAtMs
      type: object
    Output_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
        - action
        - target
        - targetName
        - paths
        - pattern
        - replacement
        - filterOperationKeys
        - filterModelPattern
        - filterHeaderPattern
        - filterEventPattern
        - filterBody
        - filterHeader
        - sortOrder
        - enabled
        - createdAtMs
        - updatedAtMs
      type: object
    Output_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
    Output_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
        - sessionAffinity
        - maxAttempts
        - enabled
      type: object
    Output_SettingsDto:
      properties:
        instance:
          $ref: '#/components/schemas/Output_InstanceSettingsDto'
        logging:
          $ref: '#/components/schemas/Output_LoggingSettingsDto'
      required:
        - instance
        - logging
      type: object
    Output_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
    Output_CatalogProviderDto:
      properties:
        displayName:
          type:
            - string
            - 'null'
        id:
          type: string
        name:
          type: string
      required:
        - id
        - name
        - displayName
      type: object
    Output_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:
        - ttlSeconds
        - price
      type: object
    Output_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
        - allowedHeaders
        - oauthClientAllowlist
        - connectionProfileId
        - proxy
        - corsOrigins
        - trustedProxies
        - alwaysSecureCookie
        - maxAttempts
        - enableSettlement
        - enableUsage
        - configRevision
        - requestTimeoutMs
        - streamIdleTimeoutMs
        - maxRequestBodyBytes
        - maxUploadBodyBytes
        - maxResponseBodyBytes
        - maxStreamEventBytes
        - maxWsFrameBytes
        - maxMultipartParts
        - enableTokenizerVocabs
        - enableTokenizerDownload
        - defaultVocabularyFileId
        - hasTokenizerAuthToken
        - retentionDays
        - usageRetentionDays
        - capturePayloadRetentionDays
        - capturePayloadMaxMb
        - quotaObservationRetentionDays
        - maxDatabaseSizeMb
        - updateChannel
        - updateSource
        - updateVerifySignature
        - enableAutoUpdateCheck
        - portalRecentRequestsEnabled
      type: object
    Output_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/import](https://gproxy.leenhawk.com/api-reference/management/post-adminapiimport.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)
- [POST /admin/api/models](https://gproxy.leenhawk.com/api-reference/management/post-adminapimodels.md)


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