---
openapi: 3.2.0
info:
  title: Config REST API
  description: Config API supports CRUD operations on config objects.
  contact: {}
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  version: "1"
servers:
  - url: https://eu.api.indykite.com/configs/v1
  - url: https://us.api.indykite.com/configs/v1
tags:
  - name: Organizations
    description: Organization operations
    x-displayName: Organizations
  - name: Projects
    description: Project CRUD operations
    x-displayName: Projects
  - name: Service Accounts
    description: Service Account CRUD operations
    x-displayName: Service Accounts
  - name: Service Account Credentials
    description: Service Account Credential management
    x-displayName: Service Account Credentials
  - name: Applications
    description: Application and agent management
    x-displayName: Applications
  - name: Application Agents
    description: Application Agent CRUD operations
    x-displayName: Application Agents
  - name: Application Agent Credentials
    description: Application Agent Credential management
    x-displayName: Application Agent Credentials
  - name: Token Introspect
    description: Token introspection configuration
    x-displayName: Token Introspect
  - name: Authorization Policies
    description: KBAC and ContX IQ Policies CRUD operations
    x-displayName: Authorization Policies
  - name: Knowledge Queries
    description: Knowledge Query management
    x-displayName: Knowledge Queries
  - name: External Data Resolver
    description: External Data Resolver configuration
    x-displayName: External Data Resolver
  - name: Trust Score
    description: Trust Score Profile management
    x-displayName: Trust Score
  - name: Event Sinks
    description: Event Sink configuration
    x-displayName: Event Sinks
  - name: Entity Matching
    description: Entity Matching Pipeline configuration
    x-displayName: Entity Matching
paths:
  /application-agent-credentials:
    get:
      tags:
        - Application Agent Credentials
      operationId: listApplicationAgentCredentials
      summary: List Application Agent Credentials
      description: List Application Agent Credentials in provided Project with optional filtering.
      parameters:
        - name: project_id
          in: query
          description: Project ID where to search for Application Agent credentials.
          required: true
          schema:
            type: string
        - name: search
          in: query
          description: "List only objects, that contains given search query in name, display name or description"
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.listConfigResponse-httpproxy_readAppAgentCredentialResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    post:
      tags:
        - Application Agent Credentials
      operationId: createApplicationAgentCredential
      summary: Register Application Agent credentials
      description: Register Application Agent credentials in provided Application Agent.
      requestBody:
        description: Register Application Agent credentials request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.createAppAgentCredentialRequest'
        required: true
      responses:
        "201":
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.createAppAgentCredentialResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ApplicationAgent JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
  /application-agent-credentials/{id}:
    get:
      tags:
        - Application Agent Credentials
      operationId: getApplicationAgentCredential
      summary: Read Application Agent Credential
      description: Read Application Agent Credential identified by provided ID.
      parameters:
        - name: id
          in: path
          description: Application Agent Credential ID
          required: true
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.readAppAgentCredentialResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ApplicationAgent JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    delete:
      tags:
        - Application Agent Credentials
      operationId: deleteApplicationAgentCredential
      summary: Delete Application Agent Credential
      description: Delete Application Agent Credential by provided ID.
      parameters:
        - name: id
          in: path
          description: Application Agent ID
          required: true
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.deleteConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ApplicationAgent JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
  /application-agents:
    get:
      tags:
        - Application Agents
      operationId: listApplicationAgents
      summary: List Application Agents
      description: List Application Agents in provided Project with optional filtering.
      parameters:
        - name: project_id
          in: query
          description: Project ID where to search for Application Agents.
          required: true
          schema:
            type: string
        - name: search
          in: query
          description: "List only objects, that contains given search query in name, display name or description"
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.listConfigResponse-httpproxy_readAppAgentResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    post:
      tags:
        - Application Agents
      operationId: createApplicationAgent
      summary: Create Application Agent
      description: Create Application Agent for provider Application.
      requestBody:
        description: Create Application Agent request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.createAppAgentRequest'
        required: true
      responses:
        "201":
          description: Created
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.createConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
  /application-agents/{id}:
    get:
      tags:
        - Application Agents
      operationId: getApplicationAgent
      summary: Read Application Agent
      description: Read Application Agent identified by provided ID.
      parameters:
        - name: id
          in: path
          description: Application Agent ID or name
          required: true
          schema:
            type: string
        - name: version
          in: query
          description: "Version of configuration to read. If not provided, latest version is returned."
          schema:
            type: integer
        - name: location
          in: query
          description: Parent project ID. Required when querying by name
          schema:
            type: string
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.readAppAgentResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    put:
      tags:
        - Application Agents
      operationId: updateApplicationAgent
      summary: Update Application Agent
      description: Update Application Agent identified by provided ID and optionally etag in If-Match header.
      parameters:
        - name: id
          in: path
          description: Application Agent ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag.
          schema:
            type: string
      requestBody:
        description: Update Application Agent request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.updateAppAgentRequest'
        required: true
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.updateConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
    delete:
      tags:
        - Application Agents
      operationId: deleteApplicationAgent
      summary: Delete Application Agent
      description: Delete Application Agent by provided ID. You can optionally can specify etag in If-Match header.
      parameters:
        - name: id
          in: path
          description: Application Agent ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.deleteConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
  /applications:
    get:
      tags:
        - Applications
      operationId: listApplications
      summary: List Applications
      description: List Applications in provided Project with optional filtering.
      parameters:
        - name: project_id
          in: query
          description: Project ID where to search for Applications.
          required: true
          schema:
            type: string
        - name: search
          in: query
          description: "List only objects, that contains given search query in name, display name or description"
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.listConfigResponse-httpproxy_readApplicationResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    post:
      tags:
        - Applications
      operationId: createApplication
      summary: Create Application
      description: Create Application in provided Project.
      requestBody:
        description: Create Application request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.createApplicationRequest'
        required: true
      responses:
        "201":
          description: Created
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.createConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
  /applications/{id}:
    get:
      tags:
        - Applications
      operationId: getApplication
      summary: Read Application
      description: "Read Application, formerly known as Application space, identified by provided ID."
      parameters:
        - name: id
          in: path
          description: Application ID or name
          required: true
          schema:
            type: string
        - name: version
          in: query
          description: "Version of configuration to read. If not provided, latest version is returned."
          schema:
            type: integer
        - name: location
          in: query
          description: Parent project ID. Required when querying by name
          schema:
            type: string
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.readApplicationResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    put:
      tags:
        - Applications
      operationId: updateApplication
      summary: Update Application
      description: "Update Application, formerly known as Application space, identified by provided ID and optionally etag in If-Match header."
      parameters:
        - name: id
          in: path
          description: Application ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag.
          schema:
            type: string
      requestBody:
        description: Update Application request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.updateApplicationRequest'
        required: true
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.updateConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
    delete:
      tags:
        - Applications
      operationId: deleteApplication
      summary: Delete Application
      description: "Delete Application, formerly known as Application space, by provided ID. You can optionally can specify etag in If-Match header."
      parameters:
        - name: id
          in: path
          description: Application ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.deleteConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
  /authorization-policies:
    get:
      tags:
        - Authorization Policies
      operationId: listAuthorizationPolicies
      summary: List Authorization Policies
      description: List Authorization Policies in provided Project with optional filtering.
      parameters:
        - name: project_id
          in: query
          description: Project ID where to search for Authorization Policies.
          required: true
          schema:
            type: string
        - name: full_fetch
          in: query
          description: "Full fetch of all data. If not provided, only metadata is returned."
          schema:
            type: boolean
        - name: search
          in: query
          description: "List only objects, that contains given search query in name, display name or description"
          schema:
            type: string
        - name: type
          in: query
          description: "Type of policy to filter by, can be 'kbac' or 'ciq'."
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.listConfigResponse-httpproxy_readAuthorizationPolicyResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    post:
      tags:
        - Authorization Policies
      operationId: createAuthorizationPolicy
      summary: Create Authorization Policy
      description: Create Authorization Policy in provided Project.
      requestBody:
        description: Create Authorization Policy request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.createAuthorizationPolicyRequest'
        required: true
      responses:
        "201":
          description: Created
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.createConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
  /authorization-policies/{id}:
    get:
      tags:
        - Authorization Policies
      operationId: getAuthorizationPolicy
      summary: Read Authorization Policy
      description: Read Authorization Policy identified by provided ID.
      parameters:
        - name: id
          in: path
          description: Authorization Policy ID or name
          required: true
          schema:
            type: string
        - name: version
          in: query
          description: "Version of configuration to read. If not provided, latest version is returned."
          schema:
            type: integer
        - name: location
          in: query
          description: Parent project ID. Required when querying by name
          schema:
            type: string
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.readAuthorizationPolicyResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    put:
      tags:
        - Authorization Policies
      operationId: updateAuthorizationPolicy
      summary: Update Authorization Policy
      description: Update Authorization Policy identified by provided ID and optionally etag in If-Match header.
      parameters:
        - name: id
          in: path
          description: Authorization Policy ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag.
          schema:
            type: string
      requestBody:
        description: Update Authorization Policy request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.updateAuthorizationPolicyRequest'
        required: true
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.updateConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
    delete:
      tags:
        - Authorization Policies
      operationId: deleteAuthorizationPolicy
      summary: Delete Authorization Policy
      description: Delete Authorization Policy by provided ID. You can optionally can specify etag in If-Match header.
      parameters:
        - name: id
          in: path
          description: Authorization Policy ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.deleteConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
  /entity-matching-pipelines:
    get:
      tags:
        - Entity Matching
      operationId: listEntityMatchingPipelines
      summary: List Entity Matching Pipelines
      description: List Entity Matching Pipelines in provided Project with optional filtering.
      parameters:
        - name: project_id
          in: query
          description: Project ID where to search for Entity Matching Pipelines.
          required: true
          schema:
            type: string
        - name: full_fetch
          in: query
          description: "Full fetch of all data. If not provided, only metadata is returned."
          schema:
            type: boolean
        - name: search
          in: query
          description: "List only objects, that contains given search query in name, display name or description"
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.listConfigResponse-httpproxy_readEntityMatchingPipelineResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    post:
      tags:
        - Entity Matching
      operationId: createEntityMatchingPipeline
      summary: Create Entity Matching Pipeline
      description: Create Entity Matching Pipeline in provided Project.
      requestBody:
        description: Create Entity Matching Pipeline request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.createEntityMatchingPipelineRequest'
        required: true
      responses:
        "201":
          description: Created
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.createConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
  /entity-matching-pipelines/{id}:
    get:
      tags:
        - Entity Matching
      operationId: getEntityMatchingPipeline
      summary: Read Entity Matching Pipeline
      description: Read Entity Matching Pipeline identified by provided ID.
      parameters:
        - name: id
          in: path
          description: Entity Matching Pipeline ID or name
          required: true
          schema:
            type: string
        - name: version
          in: query
          description: "Version of configuration to read. If not provided, latest version is returned."
          schema:
            type: integer
        - name: location
          in: query
          description: Parent project ID. Required when querying by name
          schema:
            type: string
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.readEntityMatchingPipelineResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    put:
      tags:
        - Entity Matching
      operationId: updateEntityMatchingPipeline
      summary: Update Entity Matching Pipeline
      description: Update Entity Matching Pipeline identified by provided ID and optionally etag in If-Match header.
      parameters:
        - name: id
          in: path
          description: Entity Matching Pipeline ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag.
          schema:
            type: string
      requestBody:
        description: Update Entity Matching Pipeline request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.updateEntityMatchingPipelineRequest'
        required: true
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.updateConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
    delete:
      tags:
        - Entity Matching
      operationId: deleteEntityMatchingPipeline
      summary: Delete Entity Matching Pipeline
      description: Delete Entity Matching Pipeline by provided ID. You can optionally can specify etag in If-Match header.
      parameters:
        - name: id
          in: path
          description: Entity Matching Pipeline ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.deleteConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
  /event-sinks:
    get:
      tags:
        - Event Sinks
      operationId: listEventSinks
      summary: List Event Sinks
      description: List Event Sinks in provided Project with optional filtering.
      parameters:
        - name: project_id
          in: query
          description: Project ID where to search for Event Sinks.
          required: true
          schema:
            type: string
        - name: full_fetch
          in: query
          description: "Full fetch of all data. If not provided, only metadata is returned."
          schema:
            type: boolean
        - name: search
          in: query
          description: "List only objects, that contains given search query in name, display name or description"
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.listConfigResponse-httpproxy_readEventSinkResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    post:
      tags:
        - Event Sinks
      operationId: createEventSink
      summary: Create Event Sink
      description: Create Event Sink in provided Project.
      requestBody:
        description: Create Event Sink request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.createEventSinkRequest'
        required: true
      responses:
        "201":
          description: Created
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.createConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
  /event-sinks/{id}:
    get:
      tags:
        - Event Sinks
      operationId: getEventSink
      summary: Read EventSink
      description: Read EventSink identified by provided ID.
      parameters:
        - name: id
          in: path
          description: EventSink ID or name
          required: true
          schema:
            type: string
        - name: version
          in: query
          description: "Version of configuration to read. If not provided, latest version is returned."
          schema:
            type: integer
        - name: location
          in: query
          description: Parent project ID. Required when querying by name
          schema:
            type: string
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.readEventSinkResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    put:
      tags:
        - Event Sinks
      operationId: updateEventSink
      summary: Update EventSink
      description: Update EventSink identified by provided ID and optionally etag in If-Match header.
      parameters:
        - name: id
          in: path
          description: EventSink ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag.
          schema:
            type: string
      requestBody:
        description: Update EventSink request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.updateEventSinkRequest'
        required: true
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.updateConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
    delete:
      tags:
        - Event Sinks
      operationId: deleteEventSink
      summary: Delete EventSink
      description: Delete EventSink by provided ID. You can optionally can specify etag in If-Match header.
      parameters:
        - name: id
          in: path
          description: EventSink ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.deleteConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
  /external-data-resolvers:
    get:
      tags:
        - External Data Resolver
      operationId: listExternalDataResolvers
      summary: List External Data Resolvers
      description: List External Data Resolvers in provided Project with optional filtering.
      parameters:
        - name: project_id
          in: query
          description: Project ID where to search for External Data Resolvers.
          required: true
          schema:
            type: string
        - name: full_fetch
          in: query
          description: "Full fetch of all data. If not provided, only metadata is returned."
          schema:
            type: boolean
        - name: search
          in: query
          description: "List only objects, that contains given search query in name, display name or description"
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.listConfigResponse-httpproxy_readExternalDataResolverResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    post:
      tags:
        - External Data Resolver
      operationId: createExternalDataResolver
      summary: Create External Data Resolver
      description: Create External Data Resolver in provided Project.
      security:
        - BearerToken: []
      requestBody:
        description: Create External Data Resolver request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.createExternalDataResolverRequest'
        required: true
      responses:
        "201":
          description: Created
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.createConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
  /external-data-resolvers/{id}:
    get:
      tags:
        - External Data Resolver
      operationId: getExternalDataResolver
      summary: Read External Data Resolver
      description: Read External Data Resolver identified by provided ID.
      security:
        - BearerToken: []
      parameters:
        - name: id
          in: path
          description: External Data Resolver ID or name
          required: true
          schema:
            type: string
        - name: version
          in: query
          description: "Version of configuration to read. If not provided, latest version is returned."
          schema:
            type: integer
        - name: location
          in: query
          description: Parent project ID. Required when querying by name
          schema:
            type: string
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.readExternalDataResolverResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
    put:
      tags:
        - External Data Resolver
      operationId: updateExternalDataResolver
      summary: Update External Data Resolver
      description: Update External Data Resolver identified by provided ID and optionally etag in If-Match header.
      parameters:
        - name: id
          in: path
          description: External Data Resolver ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag.
          schema:
            type: string
      requestBody:
        description: Update External Data Resolver request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.updateExternalDataResolverRequest'
        required: true
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.updateConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
    delete:
      tags:
        - External Data Resolver
      operationId: deleteExternalDataResolver
      summary: Delete External Data Resolver
      description: Delete External Data Resolver by provided ID. You can optionally can specify etag in If-Match header.
      parameters:
        - name: id
          in: path
          description: External Data Resolver ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.deleteConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
  /knowledge-queries:
    get:
      tags:
        - Knowledge Queries
      operationId: listKnowledgeQueries
      summary: List Knowledge Queries
      description: List Knowledge Queries in provided Project with optional filtering.
      security:
        - BearerToken: []
      parameters:
        - name: project_id
          in: query
          description: Project ID where to search for Knowledge Queries.
          required: true
          schema:
            type: string
        - name: full_fetch
          in: query
          description: "Full fetch of all data. If not provided, only metadata is returned."
          schema:
            type: boolean
        - name: search
          in: query
          description: "List only objects, that contains given search query in name, display name or description"
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.listConfigResponse-httpproxy_readKnowledgeQueryResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
    post:
      tags:
        - Knowledge Queries
      operationId: createKnowledgeQuery
      summary: Create Knowledge Query
      description: Create Knowledge Query in provided Project.
      requestBody:
        description: Create Knowledge Query request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.createKnowledgeQueryRequest'
        required: true
      responses:
        "201":
          description: Created
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.createConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
  /knowledge-queries/{id}:
    get:
      tags:
        - Knowledge Queries
      operationId: getKnowledgeQuery
      summary: Read Knowledge Query
      description: Read Knowledge Query identified by provided ID.
      parameters:
        - name: id
          in: path
          description: Knowledge Query ID or name
          required: true
          schema:
            type: string
        - name: version
          in: query
          description: "Version of configuration to read. If not provided, latest version is returned."
          schema:
            type: integer
        - name: location
          in: query
          description: Parent project ID. Required when querying by name
          schema:
            type: string
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.readKnowledgeQueryResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    put:
      tags:
        - Knowledge Queries
      operationId: updateKnowledgeQuery
      summary: Update Knowledge Query
      description: Update Knowledge Query identified by provided ID and optionally etag in If-Match header.
      parameters:
        - name: id
          in: path
          description: Knowledge Query ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag.
          schema:
            type: string
      requestBody:
        description: Update Knowledge Query request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.updateKnowledgeQueryRequest'
        required: true
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.updateConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
    delete:
      tags:
        - Knowledge Queries
      operationId: deleteKnowledgeQuery
      summary: Delete Knowledge Query
      description: Delete Knowledge Query by provided ID. You can optionally can specify etag in If-Match header.
      parameters:
        - name: id
          in: path
          description: Knowledge Query ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.deleteConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
  /organizations/current:
    get:
      tags:
        - Organizations
      operationId: listOrganizationsCurrent
      summary: Read current Organization
      description: "Read current Organization, formerly known as Customer, by current service account."
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.readOrganizationResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
  /projects:
    get:
      tags:
        - Projects
      operationId: listProjects
      summary: List Projects
      description: List Projects in provided Organization with optional filtering.
      parameters:
        - name: organization_id
          in: query
          description: Project ID where to search for Projects.
          required: true
          schema:
            type: string
        - name: search
          in: query
          description: "List only objects, that contains given search query in name, display name or description"
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.listConfigResponse-httpproxy_readProjectResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    post:
      tags:
        - Projects
      operationId: createProject
      summary: Create Project
      description: "Create Project, formerly known as Application space, in provided Organization."
      requestBody:
        description: Create Project request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.createProjectRequest'
        required: true
      responses:
        "201":
          description: Created
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.createConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
  /projects/{id}:
    get:
      tags:
        - Projects
      operationId: getProject
      summary: Read Project
      description: "Read Project, formerly known as Application space, identified by provided ID."
      parameters:
        - name: id
          in: path
          description: Project ID
          required: true
          schema:
            type: string
        - name: version
          in: query
          description: "Version of configuration to read. If not provided, latest version is returned."
          schema:
            type: integer
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.readProjectResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    put:
      tags:
        - Projects
      operationId: updateProject
      summary: Update Project
      description: "Update Project, formerly known as Application space, identified by provided ID and optionally etag in If-Match header."
      parameters:
        - name: id
          in: path
          description: Project ID or name
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag.
          schema:
            type: string
      requestBody:
        description: Update Project request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.updateProjectRequest'
        required: true
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.updateConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
    delete:
      tags:
        - Projects
      operationId: deleteProject
      summary: Delete Project
      description: "Delete Project, formerly known as Application space, by provided ID. You can optionally can specify etag in If-Match header."
      parameters:
        - name: id
          in: path
          description: Project ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.deleteConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
  /service-account-credentials:
    get:
      tags:
        - Service Account Credentials
      operationId: listServiceAccountCredentials
      summary: List Service Accounts Credentials
      description: List Service Accounts Credentials in provided Organization with optional filtering.
      parameters:
        - name: organization_id
          in: query
          description: Organization ID where to search for Service Accounts credentials.
          required: true
          schema:
            type: string
        - name: search
          in: query
          description: "List only objects, that contains given search query in name, display name or description"
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.listConfigResponse-httpproxy_readSACredentialResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    post:
      tags:
        - Service Account Credentials
      operationId: createServiceAccountCredential
      summary: Register Service Account credentials
      description: Register Service Account credentials in provided Service Account.
      requestBody:
        description: Register Service Account credentials request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.createSACredentialRequest'
        required: true
      responses:
        "201":
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.createSACredentialResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
  /service-account-credentials/{id}:
    get:
      tags:
        - Service Account Credentials
      operationId: getServiceAccountCredential
      summary: Read Service Account Credential
      description: Read Service Account Credential identified by provided ID.
      parameters:
        - name: id
          in: path
          description: Service Account Credential ID
          required: true
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.readSACredentialResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    delete:
      tags:
        - Service Account Credentials
      operationId: deleteServiceAccountCredential
      summary: Delete Service Account Credential
      description: Delete Service Account Credential by provided ID.
      parameters:
        - name: id
          in: path
          description: Service Account ID
          required: true
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.deleteConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
  /service-accounts:
    get:
      tags:
        - Service Accounts
      operationId: listServiceAccounts
      summary: List Service Accounts
      description: List Service Accounts in provided Organization with optional filtering.
      parameters:
        - name: organization_id
          in: query
          description: Organization ID where to search for Service Accounts.
          required: true
          schema:
            type: string
        - name: search
          in: query
          description: "List only objects, that contains given search query in name, display name or description"
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.listConfigResponse-httpproxy_readConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    post:
      tags:
        - Service Accounts
      operationId: createServiceAccount
      summary: Create Service Account
      description: Create Service Account in provided Organization.
      requestBody:
        description: Create Service Account request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.createServiceAccountRequest'
        required: true
      responses:
        "201":
          description: Created
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.createConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
  /service-accounts/{id}:
    get:
      tags:
        - Service Accounts
      operationId: getServiceAccount
      summary: Read Service Account
      description: Read Service Account identified by provided ID.
      parameters:
        - name: id
          in: path
          description: Service Account ID
          required: true
          schema:
            type: string
        - name: version
          in: query
          description: "Version of configuration to read. If not provided, latest version is returned."
          schema:
            type: integer
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.readConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    put:
      tags:
        - Service Accounts
      operationId: updateServiceAccount
      summary: Update Service Account
      description: Update Service Account identified by provided ID and optionally etag in If-Match header.
      parameters:
        - name: id
          in: path
          description: Service Account ID or name
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag.
          schema:
            type: string
      requestBody:
        description: Update Service Account request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.updateServiceAccountRequest'
        required: true
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.updateConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
    delete:
      tags:
        - Service Accounts
      operationId: deleteServiceAccount
      summary: Delete Service Account
      description: Delete Service Account by provided ID. You can optionally can specify etag in If-Match header.
      parameters:
        - name: id
          in: path
          description: Service Account ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.deleteConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
  /token-introspects:
    get:
      tags:
        - Token Introspect
      operationId: listTokenIntrospects
      summary: List Token Introspections
      description: List Token Introspections in provided Project with optional filtering.
      parameters:
        - name: project_id
          in: query
          description: Project ID where to search for Token Introspections.
          required: true
          schema:
            type: string
        - name: full_fetch
          in: query
          description: "Full fetch of all data. If not provided, only metadata is returned."
          schema:
            type: boolean
        - name: search
          in: query
          description: "List only objects, that contains given search query in name, display name or description"
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.listConfigResponse-httpproxy_readTokenIntrospectResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    post:
      tags:
        - Token Introspect
      operationId: createTokenIntrospect
      summary: Create Token Introspection
      description: Create Token Introspection in provided Project.
      requestBody:
        description: Create Token Introspection request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.createTokenIntrospectRequest'
        required: true
      responses:
        "201":
          description: Created
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.createConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
  /token-introspects/{id}:
    get:
      tags:
        - Token Introspect
      operationId: getTokenIntrospect
      summary: Read Token Introspection
      description: Read Token Introspection identified by provided ID.
      parameters:
        - name: id
          in: path
          description: Token Introspection ID or name
          required: true
          schema:
            type: string
        - name: version
          in: query
          description: "Version of configuration to read. If not provided, latest version is returned."
          schema:
            type: integer
        - name: location
          in: query
          description: Parent project ID. Required when querying by name
          schema:
            type: string
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.readTokenIntrospectResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    put:
      tags:
        - Token Introspect
      operationId: updateTokenIntrospect
      summary: Update Token Introspection
      description: Update Token Introspection identified by provided ID and optionally etag in If-Match header.
      parameters:
        - name: id
          in: path
          description: Token Introspection ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag.
          schema:
            type: string
      requestBody:
        description: Update Token Introspection request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.updateTokenIntrospectRequest'
        required: true
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.updateConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
    delete:
      tags:
        - Token Introspect
      operationId: deleteTokenIntrospect
      summary: Delete Token Introspection
      description: Delete Token Introspection by provided ID. You can optionally can specify etag in If-Match header.
      parameters:
        - name: id
          in: path
          description: Token Introspection ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.deleteConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
  /trust-score-profiles:
    get:
      tags:
        - Trust Score
      operationId: listTrustScoreProfiles
      summary: List Trust Score Profiles
      description: List Trust Score Profiles in provided Project with optional filtering.
      parameters:
        - name: project_id
          in: query
          description: Project ID where to search for Trust Score Profiles.
          required: true
          schema:
            type: string
        - name: full_fetch
          in: query
          description: "Full fetch of all data. If not provided, only metadata is returned."
          schema:
            type: boolean
        - name: search
          in: query
          description: "List only objects, that contains given search query in name, display name or description"
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.listConfigResponse-httpproxy_readTrustScoreProfileResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    post:
      tags:
        - Trust Score
      operationId: createTrustScoreProfile
      summary: Create Trust Score Profile
      description: Create Trust Score Profile in provided Project.
      requestBody:
        description: Create Trust Score Profile request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.createTrustScoreProfileRequest'
        required: true
      responses:
        "201":
          description: Created
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.createConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
  /trust-score-profiles/{id}:
    get:
      tags:
        - Trust Score
      operationId: getTrustScoreProfile
      summary: Read Trust Score Profile
      description: Read Trust Score Profile identified by provided ID.
      parameters:
        - name: id
          in: path
          description: Trust Score Profile ID or name
          required: true
          schema:
            type: string
        - name: version
          in: query
          description: "Version of configuration to read. If not provided, latest version is returned."
          schema:
            type: integer
        - name: location
          in: query
          description: Parent project ID. Required when querying by name
          schema:
            type: string
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.readTrustScoreProfileResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
    put:
      tags:
        - Trust Score
      operationId: updateTrustScoreProfile
      summary: Update Trust Score Profile
      description: Update Trust Score Profile identified by provided ID and optionally etag in If-Match header.
      parameters:
        - name: id
          in: path
          description: Trust Score Profile ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag.
          schema:
            type: string
      requestBody:
        description: Update Trust Score Profile request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/httpproxy.updateTrustScoreProfileRequest'
        required: true
      responses:
        "200":
          description: OK
          headers:
            etag:
              description: Multiversion concurrency control version - etag
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.updateConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      x-codegen-request-body-name: request
      security:
        - BearerToken: []
    delete:
      tags:
        - Trust Score
      operationId: deleteTrustScoreProfile
      summary: Delete Trust Score Profile
      description: Delete Trust Score Profile by provided ID. You can optionally can specify etag in If-Match header.
      parameters:
        - name: id
          in: path
          description: Trust Score Profile ID
          required: true
          schema:
            type: string
        - name: If-Match
          in: header
          description: Multiversion concurrency control version - etag
          schema:
            type: string
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpproxy.deleteConfigResponse'
        "400":
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
        "401":
          description: Invalid ServiceAccount JWT in Authorization header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "403":
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "404":
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "422":
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.DetailedError'
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/restapi.ErrorResponse'
      security:
        - BearerToken: []
components:
  schemas:
    httpproxy.azureEventGridSinkConfig:
      required:
        - access_key
        - topic_endpoint
      type: object
      properties:
        access_key:
          maxLength: 1024
          minLength: 1
          type: string
          example: key123
        display_name:
          type: string
        last_error:
          type: string
        topic_endpoint:
          maxLength: 1024
          minLength: 1
          type: string
          example: https://example.azure.com
    httpproxy.azureServiceBusSinkConfig:
      required:
        - connection_string
        - queue_or_topic_name
      type: object
      properties:
        connection_string:
          maxLength: 1024
          minLength: 1
          type: string
          example: sb://my-test-service-bus.service
        display_name:
          type: string
        last_error:
          type: string
        queue_or_topic_name:
          maxLength: 1024
          minLength: 1
          type: string
          example: my-test-service-bus-queue
    httpproxy.claim:
      required:
        - selector
      type: object
      properties:
        selector:
          maxLength: 200
          minLength: 1
          type: string
          description: |-
            Selector is JSON selector of property in token claims. Currently just name in top-level object is supported.

            By default we support all standard claims from OpenID specification
            https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims,
            and mapping will fail if claim and data type will not match the standard.

            For non-standard claims the type will be derived from the JSON.
    httpproxy.createAppAgentCredentialRequest:
      required:
        - application_agent_id
      type: object
      properties:
        application_agent_id:
          type: string
          description: "ApplicationAgentID is identifier of Application Agent, to which the credential will be registered."
        display_name:
          maxLength: 254
          minLength: 2
          type: string
          description: DisplayName is optional human readable name of configuration.
        expire_time:
          type: string
          description: "ExpireTime specify when configuration will expire. If present, must be in RFC3339 format."
    httpproxy.createAppAgentCredentialResponse:
      type: object
      properties:
        application_agent_config:
          type: array
          description: ApplicationAgentConfig is JSON configuration of created credential.
          items:
            type: integer
        application_agent_id:
          type: string
          description: "ApplicationAgentID is identifier of Application Agent, to which the credential was registered."
        create_time:
          type: string
          description: CreateTime specify when configuration was created.
        created_by:
          type: string
          description: CreatedBy specify who created configuration.
        display_name:
          type: string
          description: DisplayName is optional human readable name of configuration.
        expire_time:
          type: string
          description: ExpireTime specify when configuration will expire.
        id:
          type: string
          description: ID is globally unique identifier of created configuration.
        kid:
          type: string
          description: Kid is key identifier of created configuration.
    httpproxy.createAppAgentRequest:
      required:
        - api_permissions
        - application_id
        - name
      type: object
      properties:
        api_permissions:
          minItems: 1
          type: array
          description: |-
            APIPermissions is a list of API permissions for the agent.
            The agent will only be able to access the APIs specified in this list.
          items:
            type: string
        application_id:
          type: string
          description: "ApplicationID is identifier of Application, for which agent should be created. Must be in GID format."
        description:
          maxLength: 65000
          minLength: 2
          type: string
          description: Description is optional description of configuration.
        display_name:
          maxLength: 254
          minLength: 2
          type: string
          description: DisplayName is optional human readable name of configuration.
        name:
          type: string
          description: |-
            Name is URL friendly identifier of configuration, must be unique in scope of parent entity.
            Also is immutable and cannot be changed later.
    httpproxy.createApplicationRequest:
      required:
        - name
        - project_id
      type: object
      properties:
        description:
          maxLength: 65000
          minLength: 2
          type: string
          description: Description is optional description of configuration.
        display_name:
          maxLength: 254
          minLength: 2
          type: string
          description: DisplayName is optional human readable name of configuration.
        name:
          type: string
          description: |-
            Name is URL friendly identifier of configuration, must be unique in scope of parent entity.
            Also is immutable and cannot be changed later.
        project_id:
          type: string
          description: |-
            ProjectID is identifier of Project, formerly known as Application space,
            where to place this new configuration object. Must be in GID format.
    httpproxy.createAuthorizationPolicyRequest:
      required:
        - name
        - policy
        - project_id
        - status
      type: object
      properties:
        description:
          maxLength: 65000
          minLength: 2
          type: string
          description: Description is optional description of configuration.
        display_name:
          maxLength: 254
          minLength: 2
          type: string
          description: DisplayName is optional human readable name of configuration.
        name:
          type: string
          description: |-
            Name is URL friendly identifier of configuration, must be unique in scope of parent entity.
            Also is immutable and cannot be changed later.
        policy:
          maxLength: 512000
          type: string
          description: Policy is required to be valid JSON format of policy. Format differs based on policy type.
        project_id:
          type: string
          description: |-
            ProjectID is identifier of Project, formerly known as Application space,
            where to place this new configuration object. Must be in GID format.
        status:
          type: string
          description: "Status of policy specify whenever it is active or not. If status is DRAFT, it is possible to save invalid policy."
          enum:
            - ACTIVE
            - INACTIVE
            - DRAFT
        tags:
          type: array
          items:
            type: string
    httpproxy.createConfigResponse:
      type: object
      properties:
        create_time:
          type: string
          description: CreateTime specify when configuration was created.
        created_by:
          type: string
          description: CreatedBy specify who created configuration.
        id:
          type: string
          description: ID is globally unique identifier of created configuration.
        update_time:
          type: string
          description: UpdateTime specify when configuration was last time updated.
        updated_by:
          type: string
          description: UpdatedBy specify who last time updated configuration.
    httpproxy.createEntityMatchingPipelineRequest:
      required:
        - name
        - node_filter
        - project_id
        - similarity_score_cutoff
      type: object
      properties:
        description:
          maxLength: 65000
          minLength: 2
          type: string
          description: Description is optional description of configuration.
        display_name:
          maxLength: 254
          minLength: 2
          type: string
          description: DisplayName is optional human readable name of configuration.
        name:
          type: string
          description: |-
            Name is URL friendly identifier of configuration, must be unique in scope of parent entity.
            Also is immutable and cannot be changed later.
        node_filter:
          type: object
          description: NodeFilter contain a list of source types and a list target node types that will be evaluated.
          allOf:
            - $ref: '#/components/schemas/httpproxy.entityMatchingPipelineNodeFilter'
        project_id:
          type: string
          description: |-
            ProjectID is identifier of Project, formerly known as Application space,
            where to place this new configuration object. Must be in GID format.
        rerun_interval:
          type: string
          description: RerunInterval is the time between scheduled re-runs (currently not supported).
        similarity_score_cutoff:
          maximum: 1
          minimum: 0
          type: number
          description: "SimilarityScoreCutoff defines the threshold (in range [0,1]), above which entities will be automatically matched."
    httpproxy.createEventSinkRequest:
      required:
        - name
        - project_id
        - providers
        - routes
      type: object
      properties:
        description:
          maxLength: 65000
          minLength: 2
          type: string
          description: Description is optional description of configuration.
        display_name:
          maxLength: 254
          minLength: 2
          type: string
          description: DisplayName is optional human readable name of configuration.
        name:
          type: string
          description: |-
            Name is URL friendly identifier of configuration, must be unique in scope of parent entity.
            Also is immutable and cannot be changed later.
        project_id:
          type: string
          description: |-
            ProjectID is identifier of Project, formerly known as Application space,
            where to place this new configuration object. Must be in GID format.
        providers:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/httpproxy.eventSinkProvider'
          description: "Providers contains the list of supported providers, that are referenced by the Routes."
        routes:
          minItems: 1
          type: array
          description: Routes contains the list of routes to properly route the events to the providers by sequential evaluation model.
          items:
            $ref: '#/components/schemas/httpproxy.eventSinkRoute'
    httpproxy.createExternalDataResolverRequest:
      required:
        - method
        - name
        - project_id
        - request_content_type
        - response_content_type
        - response_selector
        - url
      type: object
      properties:
        description:
          maxLength: 65000
          minLength: 2
          type: string
          description: Description is optional description of configuration.
        display_name:
          maxLength: 254
          minLength: 2
          type: string
          description: DisplayName is optional human readable name of configuration.
        headers:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: |-
            Headers to be sent with the request, including authorization if needed.
            Be aware that Content-Type is overridden based on request_content_type and Accept by response_content_type.
        method:
          type: string
          description: Method specify HTTP method to be used for the request.
          enum:
            - GET
            - POST
            - PUT
            - PATCH
        name:
          type: string
          description: |-
            Name is URL friendly identifier of configuration, must be unique in scope of parent entity.
            Also is immutable and cannot be changed later.
        project_id:
          type: string
          description: |-
            ProjectID is identifier of Project, formerly known as Application space,
            where to place this new configuration object. Must be in GID format.
        request_content_type:
          type: string
          description: |-
            RequestContentType specify format of request body payload and how to set Content-Type header.
            If content-type header is set by Headers, that header will be overridden.
          enum:
            - JSON
        request_payload:
          type: string
          description: |-
            RequestPayload to be sent to the endpoint. It should be in proper format based on request type.
            It is going through the template builder to be properly formatted and filled with data.
        response_content_type:
          type: string
          description: |-
            ResponseContentType specify expected Content-Type header of response. If mismatch with real response, it will fail.
            This also sets Accept header in request. If Accept header is set by Headers, that header will be overridden.
          enum:
            - JSON
        response_selector:
          maxLength: 255
          minLength: 1
          type: string
          description: |-
            ResponseSelector specify selector to extract data from response.
            Should be in requested format based on Response Type.
        url:
          type: string
          description: URL specify full path to endpoint that will be called.
    httpproxy.createKnowledgeQueryRequest:
      required:
        - name
        - policy_id
        - project_id
        - query
        - status
      type: object
      properties:
        description:
          maxLength: 65000
          minLength: 2
          type: string
          description: Description is optional description of configuration.
        display_name:
          maxLength: 254
          minLength: 2
          type: string
          description: DisplayName is optional human readable name of configuration.
        name:
          type: string
          description: |-
            Name is URL friendly identifier of configuration, must be unique in scope of parent entity.
            Also is immutable and cannot be changed later.
        policy_id:
          type: string
          description: PolicyID is gid formatted ID of the authorization policy that is used to authorize access to queried data.
        project_id:
          type: string
          description: |-
            ProjectID is identifier of Project, formerly known as Application space,
            where to place this new configuration object. Must be in GID format.
        query:
          maxLength: 512000
          type: string
          description: "Query is required to be valid JSON format of knowledge query, unless status is DRAFT."
        status:
          type: string
          description: "Status of query specify whenever it is active or not. If status is DRAFT, it is possible to save invalid query."
          enum:
            - ACTIVE
            - INACTIVE
            - DRAFT
    httpproxy.createProjectRequest:
      required:
        - name
        - organization_id
        - region
      type: object
      properties:
        db_connection:
          type: object
          description: Database connection information for self hosted database.
          allOf:
            - $ref: '#/components/schemas/httpproxy.dbConnection'
        description:
          maxLength: 65000
          minLength: 2
          type: string
          description: Description is optional description of configuration.
        display_name:
          maxLength: 254
          minLength: 2
          type: string
          description: DisplayName is optional human readable name of configuration.
        ikg_size:
          type: string
          description: |-
            IKG size that will be allocated, which correspond also to amount of CPU nodes. Default value is 2GB.

            2GB (1 CPU), 4GB (1 CPU), 8GB (2 CPUs), 16GB (3 CPUs), 32GB (6 CPUs), 64GB (12 CPUs),
            128GB (24 CPUs), 192GB (36 CPUs), 256GB (48 CPUs), 384GB (82 CPUs), and 512GB (96 CPUs)
          enum:
            - 2GB
            - 4GB
            - 8GB
            - 16GB
            - 32GB
            - 64GB
            - 128GB
            - 192GB
            - 256GB
            - 384GB
            - 512GB
        name:
          type: string
          description: |-
            Name is URL friendly identifier of configuration, must be unique in scope of parent entity.
            Also is immutable and cannot be changed later.
        organization_id:
          type: string
          description: |-
            OrganizationID is identifier of Organization, formerly known as Customer,
            where to place this new configuration object. Must be in GID format.
        region:
          type: string
          enum:
            - us-east1
            - europe-west1
        replica_region:
          type: string
          description: |-
            Replica region specify where the second IKG is created.

            This will turn on multi region with synchronization from master into that replica.
            Replica must be different region than the master, but also in the same geographical continent.
          enum:
            - us-east1
            - us-west1
            - europe-west1
    httpproxy.createSACredentialRequest:
      required:
        - service_account_id
      type: object
      properties:
        display_name:
          maxLength: 254
          minLength: 2
          type: string
          description: DisplayName is optional human readable name of configuration.
        expire_time:
          type: string
          description: "ExpireTime specify when configuration will expire. If present, must be in RFC3339 format."
        service_account_id:
          type: string
          description: "ServiceAccountID is identifier of Service Account, to which the credential will be registered."
    httpproxy.createSACredentialResponse:
      type: object
      properties:
        create_time:
          type: string
          description: CreateTime specify when configuration was created.
        created_by:
          type: string
          description: CreatedBy specify who created configuration.
        display_name:
          type: string
          description: DisplayName is optional human readable name of configuration.
        expire_time:
          type: string
          description: ExpireTime specify when configuration will expire.
        id:
          type: string
          description: ID is globally unique identifier of created configuration.
        kid:
          type: string
          description: Kid is key identifier of created configuration.
        service_account_config:
          type: array
          description: ServiceAccountConfig is JSON configuration of created credential.
          items:
            type: integer
        service_account_id:
          type: string
          description: "ServiceAccountID is identifier of Service Account, to which the credential was registered."
    httpproxy.createServiceAccountRequest:
      required:
        - name
        - organization_id
        - role
      type: object
      properties:
        description:
          maxLength: 65000
          minLength: 2
          type: string
          description: Description is optional description of configuration.
        display_name:
          maxLength: 254
          minLength: 2
          type: string
          description: DisplayName is optional human readable name of configuration.
        name:
          type: string
          description: |-
            Name is URL friendly identifier of configuration, must be unique in scope of parent entity.
            Also is immutable and cannot be changed later.
        organization_id:
          type: string
          description: |-
            OrganizationID is identifier of Organization, formerly known as Customer,
            where to place this new configuration object. Must be in GID format.
        role:
          type: string
          enum:
            - all_editor
            - all_viewer
    httpproxy.createTokenIntrospectRequest:
      required:
        - claims_mapping
        - ikg_node_type
        - name
        - project_id
      type: object
      properties:
        claims_mapping:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/httpproxy.claim'
          description: |-
            ClaimsMapping specifies which claims from the token should be mapped to new names and name of property in IKG.
            Be aware, that this can override any existing claims, which might not be accessible anymore by internal services.
            And with the highest priority, there is mapping of sub claim to 'external_id'.
            So you shouldn't ever use 'external_id' as a key.

            Key specifies the new name and also the name of the property in IKG.
            Value specifies which claim to map and how.
        description:
          maxLength: 65000
          minLength: 2
          type: string
          description: Description is optional description of configuration.
        display_name:
          maxLength: 254
          minLength: 2
          type: string
          description: DisplayName is optional human readable name of configuration.
        ikg_node_type:
          type: string
          description: IkgNodeType is node type in IKG to which we will try to match sub claim with DT external_id.
        jwt_matcher:
          type: object
          description: |-
            JwtMatcher specifies all attributes to match with received JWT token.
            Only one of JwtMatcher or OpaqueMatcher can be specified.
          allOf:
            - $ref: '#/components/schemas/httpproxy.jwtMatcher'
        name:
          type: string
          description: |-
            Name is URL friendly identifier of configuration, must be unique in scope of parent entity.
            Also is immutable and cannot be changed later.
        offline_validation:
          type: object
          description: |-
            OfflineValidation defines how to validate token signature locally, without reaching out to external services.
            OfflineValidation can be used only with JwtMatcher.
          allOf:
            - $ref: '#/components/schemas/httpproxy.offlineValidation'
        online_validation:
          type: object
          description: |-
            OnlineValidation works with both JWT and Opaque tokens.
            It will call userinfo endpoint to validate token and fetch user claims.
          allOf:
            - $ref: '#/components/schemas/httpproxy.onlineValidation'
        opaque_matcher:
          type: object
          description: |-
            OpaqueMatcher specifies the configuration which is used for opaque tokens.
            Only one of JwtMatcher or OpaqueMatcher can be specified.
          allOf:
            - $ref: '#/components/schemas/httpproxy.opaqueMatcher'
        perform_upsert:
          type: boolean
          description: |-
            PerformUpsert specifies if we should create and/or update DigitalTwin in IKG if it doesn't exist.
            In future this will perform upsert also on properties that are derived from token.
        project_id:
          type: string
          description: |-
            ProjectID is identifier of Project, formerly known as Application space,
            where to place this new configuration object. Must be in GID format.
        sub_claim:
          type: object
          description: |-
            SubClaim is used to match DigitalTwin with external_id. If not specified, standard 'sub' claim will be used.
            Either 'sub' or specified claim will then also be mapped to 'external_id' claim.
          allOf:
            - $ref: '#/components/schemas/httpproxy.claim'
    httpproxy.createTrustScoreProfileRequest:
      required:
        - dimensions
        - name
        - node_classification
        - project_id
        - schedule
      type: object
      properties:
        description:
          maxLength: 65000
          minLength: 2
          type: string
          description: Description is optional description of configuration.
        dimensions:
          minItems: 1
          type: array
          description: |-
            Dimensions that will be used to calculate the trust score.
            This field is required when creating a new profile and must contain at least one non-zero-weighted dimension.
          items:
            $ref: '#/components/schemas/httpproxy.trustScoreProfileDimension'
        display_name:
          maxLength: 254
          minLength: 2
          type: string
          description: DisplayName is optional human readable name of configuration.
        name:
          type: string
          description: |-
            Name is URL friendly identifier of configuration, must be unique in scope of parent entity.
            Also is immutable and cannot be changed later.
        node_classification:
          type: string
          description: |-
            NodeClassification is a node label in PascalCase, cannot be modified once set.
            Must be specified during creation and can be omitted when updating.
          example: NodeType
        project_id:
          type: string
          description: |-
            ProjectID is identifier of Project, formerly known as Application space,
            where to place this new configuration object. Must be in GID format.
        schedule:
          type: string
          description: "Schedule sets the time between re-calculations, must be one of the predefined intervals."
          enum:
            - THREE_HOURS
            - SIX_HOURS
            - TWELVE_HOURS
            - DAILY
    httpproxy.dbConnection:
      required:
        - password
        - url
        - username
      type: object
      properties:
        name:
          type: string
          description: Optional name of the database.
        password:
          type: string
          description: Password for database authentication - write only.
        url:
          type: string
          description: Connection URL for the database.
        username:
          type: string
          description: Username for database authentication.
    httpproxy.deleteConfigResponse:
      type: object
      properties:
        id:
          type: string
          description: ID of deleted configuration.
    httpproxy.entityMatchingPipelineNodeFilter:
      required:
        - source_node_types
        - target_node_types
      type: object
      properties:
        source_node_types:
          minItems: 1
          type: array
          description: |-
            SourceNodeTypes is the list of node types that will be compared to nodes in the TargetNodeTypes list.
            Currently, only the first node type will be taken into consideration.
          items:
            type: string
        target_node_types:
          minItems: 1
          type: array
          description: |-
            TargetNodeTypes is the list of node types that will be compared to nodes in the SourceNodeTypes list.
            Currently, only the first node type will be taken into consideration.
          items:
            type: string
    httpproxy.entityMatchingPipelinePropertyMapping:
      type: object
      properties:
        similarity_score_cutoff:
          type: number
          description: "SimilarityScoreCutoff defines the threshold (in range [0,1]), above which entities will be automatically matched."
        source_node_property:
          type: string
          description: TargetNodeType is the node's type that will be compared to nodes of SourceNodeType.
        source_node_type:
          type: string
          description: SourceNodeType is the node's type that will be compared to nodes of TargetNodeType.
        target_node_property:
          type: string
          description: TargetNodeProperty is a target node property that will be compared to SourceNodeProperty.
        target_node_type:
          type: string
          description: SourceNodeProperty is a source node's property that will be compared to TargetNodeProperty.
    httpproxy.eventSinkFilterKeyValue:
      required:
        - key
        - value
      type: object
      properties:
        key:
          minLength: 1
          type: string
          example: key1
        value:
          minLength: 1
          type: string
          example: value1
    httpproxy.eventSinkProvider:
      type: object
      properties:
        azure_event_grid:
          $ref: '#/components/schemas/httpproxy.azureEventGridSinkConfig'
        azure_service_bus:
          $ref: '#/components/schemas/httpproxy.azureServiceBusSinkConfig'
        kafka:
          $ref: '#/components/schemas/httpproxy.kafkaSinkConfig'
    httpproxy.eventSinkRoute:
      required:
        - event_type_key_values_filter
        - provider_id
      type: object
      properties:
        display_name:
          type: string
        event_type_key_values_filter:
          $ref: '#/components/schemas/httpproxy.eventSinkRouteEventKeyValuesFilter'
        provider_id:
          type: string
        stop_processing:
          type: boolean
    httpproxy.eventSinkRouteEventKeyValuesFilter:
      required:
        - event_type
      type: object
      properties:
        context_key_value:
          type: array
          items:
            $ref: '#/components/schemas/httpproxy.eventSinkFilterKeyValue'
        event_type:
          minLength: 1
          type: string
          example: indykite.audit.config.create
    httpproxy.jwtMatcher:
      required:
        - audience
        - issuer
      type: object
      properties:
        audience:
          maxLength: 150
          minLength: 1
          type: string
          description: Audience is used to exact match based on `aud` claim in JWT.
        issuer:
          type: string
          description: Issuer is used to exact match based on `iss` claim in JWT.
    httpproxy.kafkaSinkConfig:
      required:
        - brokers
        - topic
      type: object
      properties:
        brokers:
          minItems: 1
          type: array
          description: Brokers specify Kafka destinations to connect to.
          items:
            type: string
        disable_tls:
          type: boolean
          description: |-
            Brokers specify Kafka destinations to connect to.
            DisableTLS can force using non-secure connection.
        display_name:
          type: string
        last_error:
          type: string
        password:
          type: string
          example: password123
        tls_skip_verify:
          type: boolean
          description: TLSSkipVerify defines whenever not to verify TLS certificate. Ignored if TLS is disabled.
        topic:
          maxLength: 249
          minLength: 1
          type: string
          example: my-topic
        username:
          type: string
          example: user1
    httpproxy.listConfigResponse-httpproxy_readAppAgentCredentialResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/httpproxy.readAppAgentCredentialResponse'
    httpproxy.listConfigResponse-httpproxy_readAppAgentResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/httpproxy.readAppAgentResponse'
    httpproxy.listConfigResponse-httpproxy_readApplicationResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/httpproxy.readApplicationResponse'
    httpproxy.listConfigResponse-httpproxy_readAuthorizationPolicyResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/httpproxy.readAuthorizationPolicyResponse'
    httpproxy.listConfigResponse-httpproxy_readConfigResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/httpproxy.readConfigResponse'
    httpproxy.listConfigResponse-httpproxy_readEntityMatchingPipelineResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/httpproxy.readEntityMatchingPipelineResponse'
    httpproxy.listConfigResponse-httpproxy_readEventSinkResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/httpproxy.readEventSinkResponse'
    httpproxy.listConfigResponse-httpproxy_readExternalDataResolverResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/httpproxy.readExternalDataResolverResponse'
    httpproxy.listConfigResponse-httpproxy_readKnowledgeQueryResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/httpproxy.readKnowledgeQueryResponse'
    httpproxy.listConfigResponse-httpproxy_readProjectResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/httpproxy.readProjectResponse'
    httpproxy.listConfigResponse-httpproxy_readSACredentialResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/httpproxy.readSACredentialResponse'
    httpproxy.listConfigResponse-httpproxy_readTokenIntrospectResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/httpproxy.readTokenIntrospectResponse'
    httpproxy.listConfigResponse-httpproxy_readTrustScoreProfileResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/httpproxy.readTrustScoreProfileResponse'
    httpproxy.offlineValidation:
      type: object
      properties:
        public_jwks:
          maxItems: 10
          type: array
          description: |-
            PublicJWKs are public JWK to validate signature of JWT.
            If there are no public keys specified, they will be fetched and cached from
            jwks_uri at https://jwt-issuer.tld/.well-known/openid-configuration
          items:
            type: string
    httpproxy.onlineValidation:
      type: object
      properties:
        cache_ttl:
          maximum: 3600
          type: integer
          description: |-
            CacheTTL of token validity can be used to minimize calls to userinfo endpoint. Value is in seconds.
            The final cache TTL will be set to lower limit of this value and exp claim of JWT token.
            If not set, token will not be cached and call to userinfo endpoint will be made on every request.

            However, token validity will be checked first if possible (JWT tokens).
            If token is expired, userinfo endpoint will not be called, nor cache checked.
        userinfo_endpoint:
          type: string
          description: |-
            UserinfoEndpoint is URI of userinfo endpoint which will be used to validate access token.
            And also fetch user claims when opaque token is received.

            It can remain empty, if JWT token matcher is used.
            Then the URI under "userinfo_endpoint" in .well-known/openid-configuration endpoint is used.
    httpproxy.opaqueMatcher:
      required:
        - hint
      type: object
      properties:
        hint:
          maxLength: 50
          minLength: 1
          type: string
          description: |-
            Hint is case sensitive plain text, that is expected to be provided in token introspect request,
            if there are multiple opaque tokens configurations.
            To differentiate between multiple opaque tokens configurations, hint must be provided.
    httpproxy.readAppAgentCredentialResponse:
      type: object
      properties:
        application_agent_id:
          type: string
          description: |-
            ApplicationAgentID is globally unique identifier of Application agent,
            to which Application agent credential was created.
        application_id:
          type: string
          description: |-
            ApplicationID is globally unique identifier of application,
            under which Application agent credential was created.
        create_time:
          type: string
          description: CreateTime specify when Application agent credential was registered.
        created_by:
          type: string
          description: CreatedBy specify who created Application agent credential.
        display_name:
          type: string
          description: DisplayName is human readable name of Application agent credential.
        expire_time:
          type: string
          description: ExpireTime specify when Application agent credential will expire.
        id:
          type: string
          description: ID is globally unique identifier of Application agent credential.
        kid:
          type: string
          description: Kid is public key ID.
        organization_id:
          type: string
          description: |-
            OrganizationID is globally unique identifier of organization, formerly known as customer,
            under which Application agent credential was created.
        project_id:
          type: string
          description: |-
            ProjectID is globally unique identifier of project, formerly known as application space,
            under which Application agent credential was created.
    httpproxy.readAppAgentResponse:
      type: object
      properties:
        api_permissions:
          type: array
          description: |-
            APIPermissions is a list of API permissions for the agent.
            The agent will only be able to access the APIs specified in this list.
          items:
            type: string
        application_id:
          type: string
          description: "ApplicationID is identifier of Application, for which agent was created."
        create_time:
          type: string
          description: CreateTime specify when configuration was created.
        created_by:
          type: string
          description: CreatedBy specify who created configuration.
        description:
          type: string
          description: Description is optional description of configuration.
        display_name:
          type: string
          description: DisplayName is optional human readable name of configuration. Is equal to Name if not set.
        id:
          type: string
          description: ID is globally unique identifier of configuration.
        name:
          type: string
          description: Name is URL friendly identifier of configuration.
        organization_id:
          type: string
          description: |-
            OrganizationID is globally unique identifier of organization, formerly known as customer,
            under which configuration was created.
        project_id:
          type: string
          description: |-
            ProjectID is globally unique identifier of project, formerly known as application space,
            under which configuration was created.
            Might be empty, if configuration is created directly under organization.
        update_time:
          type: string
          description: UpdateTime specify when configuration was last time updated.
        updated_by:
          type: string
          description: UpdatedBy specify who last time updated configuration.
    httpproxy.readApplicationResponse:
      type: object
      properties:
        create_time:
          type: string
          description: CreateTime specify when configuration was created.
        created_by:
          type: string
          description: CreatedBy specify who created configuration.
        description:
          type: string
          description: Description is optional description of configuration.
        display_name:
          type: string
          description: DisplayName is optional human readable name of configuration. Is equal to Name if not set.
        id:
          type: string
          description: ID is globally unique identifier of configuration.
        name:
          type: string
          description: Name is URL friendly identifier of configuration.
        organization_id:
          type: string
          description: |-
            OrganizationID is globally unique identifier of organization, formerly known as customer,
            under which configuration was created.
        project_id:
          type: string
          description: |-
            ProjectID is globally unique identifier of project, formerly known as application space,
            under which configuration was created.
            Might be empty, if configuration is created directly under organization.
        update_time:
          type: string
          description: UpdateTime specify when configuration was last time updated.
        updated_by:
          type: string
          description: UpdatedBy specify who last time updated configuration.
    httpproxy.readAuthorizationPolicyResponse:
      type: object
      properties:
        create_time:
          type: string
          description: CreateTime specify when configuration was created.
        created_by:
          type: string
          description: CreatedBy specify who created configuration.
        description:
          type: string
          description: Description is optional description of configuration.
        display_name:
          type: string
          description: DisplayName is optional human readable name of configuration. Is equal to Name if not set.
        id:
          type: string
          description: ID is globally unique identifier of configuration.
        name:
          type: string
          description: Name is URL friendly identifier of configuration.
        organization_id:
          type: string
          description: |-
            OrganizationID is globally unique identifier of organization, formerly known as customer,
            under which configuration was created.
        policy:
          type: string
        project_id:
          type: string
          description: |-
            ProjectID is globally unique identifier of project, formerly known as application space,
            under which configuration was created.
            Might be empty, if configuration is created directly under organization.
        status:
          type: string
        tags:
          type: array
          items:
            type: string
        update_time:
          type: string
          description: UpdateTime specify when configuration was last time updated.
        updated_by:
          type: string
          description: UpdatedBy specify who last time updated configuration.
    httpproxy.readConfigResponse:
      type: object
      properties:
        create_time:
          type: string
          description: CreateTime specify when configuration was created.
        created_by:
          type: string
          description: CreatedBy specify who created configuration.
        description:
          type: string
          description: Description is optional description of configuration.
        display_name:
          type: string
          description: DisplayName is optional human readable name of configuration. Is equal to Name if not set.
        id:
          type: string
          description: ID is globally unique identifier of configuration.
        name:
          type: string
          description: Name is URL friendly identifier of configuration.
        organization_id:
          type: string
          description: |-
            OrganizationID is globally unique identifier of organization, formerly known as customer,
            under which configuration was created.
        project_id:
          type: string
          description: |-
            ProjectID is globally unique identifier of project, formerly known as application space,
            under which configuration was created.
            Might be empty, if configuration is created directly under organization.
        update_time:
          type: string
          description: UpdateTime specify when configuration was last time updated.
        updated_by:
          type: string
          description: UpdatedBy specify who last time updated configuration.
    httpproxy.readEntityMatchingPipelineResponse:
      type: object
      properties:
        create_time:
          type: string
          description: CreateTime specify when configuration was created.
        created_by:
          type: string
          description: CreatedBy specify who created configuration.
        description:
          type: string
          description: Description is optional description of configuration.
        display_name:
          type: string
          description: DisplayName is optional human readable name of configuration. Is equal to Name if not set.
        entity_matching_message:
          type: string
          description: Any error message from the entity matching analysis explaining the current entity_matching_status.
        entity_matching_status:
          type: string
          description: EntityMatchingStatus is the status assigned to the pipeline's step that matches node entities.
        id:
          type: string
          description: ID is globally unique identifier of configuration.
        last_run_time:
          type: string
          description: LastRunTime is the time when the pipeline was last run.
        name:
          type: string
          description: Name is URL friendly identifier of configuration.
        node_filter:
          type: object
          description: NodeFilter contain a list of source types and a list target node types that will be evaluated.
          allOf:
            - $ref: '#/components/schemas/httpproxy.entityMatchingPipelineNodeFilter'
        organization_id:
          type: string
          description: |-
            OrganizationID is globally unique identifier of organization, formerly known as customer,
            under which configuration was created.
        project_id:
          type: string
          description: |-
            ProjectID is globally unique identifier of project, formerly known as application space,
            under which configuration was created.
            Might be empty, if configuration is created directly under organization.
        property_mapping_message:
          type: string
          description: Any error message from the property mapping analysis explaining the current property_mapping_status.
        property_mapping_status:
          type: string
          description: PropertyMappingStatus is the status assigned to the pipeline's step that maps node types' properties.
        property_mappings:
          type: array
          description: PropertyMappings contains the rules the pipeline will use to match source nodes with target nodes.
          items:
            $ref: '#/components/schemas/httpproxy.entityMatchingPipelinePropertyMapping'
        report_type:
          type: string
          description: ReportType indicates the format in which the report is stored.
        report_url:
          type: string
          description: ReportURL points to where the analysis report is stored.
        rerun_interval:
          type: string
          description: RerunInterval is the time between scheduled re-runs (currently not supported).
        similarity_score_cutoff:
          type: number
          description: "SimilarityScoreCutoff defines the threshold (in range [0,1]), above which entities will be automatically matched."
        update_time:
          type: string
          description: UpdateTime specify when configuration was last time updated.
        updated_by:
          type: string
          description: UpdatedBy specify who last time updated configuration.
    httpproxy.readEventSinkResponse:
      type: object
      properties:
        create_time:
          type: string
          description: CreateTime specify when configuration was created.
        created_by:
          type: string
          description: CreatedBy specify who created configuration.
        description:
          type: string
          description: Description is optional description of configuration.
        display_name:
          type: string
          description: DisplayName is optional human readable name of configuration. Is equal to Name if not set.
        id:
          type: string
          description: ID is globally unique identifier of configuration.
        name:
          type: string
          description: Name is URL friendly identifier of configuration.
        organization_id:
          type: string
          description: |-
            OrganizationID is globally unique identifier of organization, formerly known as customer,
            under which configuration was created.
        project_id:
          type: string
          description: |-
            ProjectID is globally unique identifier of project, formerly known as application space,
            under which configuration was created.
            Might be empty, if configuration is created directly under organization.
        providers:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/httpproxy.eventSinkProvider'
        routes:
          type: array
          items:
            $ref: '#/components/schemas/httpproxy.eventSinkRoute'
        update_time:
          type: string
          description: UpdateTime specify when configuration was last time updated.
        updated_by:
          type: string
          description: UpdatedBy specify who last time updated configuration.
    httpproxy.readExternalDataResolverResponse:
      type: object
      properties:
        create_time:
          type: string
          description: CreateTime specify when configuration was created.
        created_by:
          type: string
          description: CreatedBy specify who created configuration.
        description:
          type: string
          description: Description is optional description of configuration.
        display_name:
          type: string
          description: DisplayName is optional human readable name of configuration. Is equal to Name if not set.
        headers:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
        id:
          type: string
          description: ID is globally unique identifier of configuration.
        method:
          type: string
        name:
          type: string
          description: Name is URL friendly identifier of configuration.
        organization_id:
          type: string
          description: |-
            OrganizationID is globally unique identifier of organization, formerly known as customer,
            under which configuration was created.
        project_id:
          type: string
          description: |-
            ProjectID is globally unique identifier of project, formerly known as application space,
            under which configuration was created.
            Might be empty, if configuration is created directly under organization.
        request_content_type:
          type: string
        request_payload:
          type: string
        response_content_type:
          type: string
        response_selector:
          type: string
        update_time:
          type: string
          description: UpdateTime specify when configuration was last time updated.
        updated_by:
          type: string
          description: UpdatedBy specify who last time updated configuration.
        url:
          type: string
    httpproxy.readKnowledgeQueryResponse:
      type: object
      properties:
        create_time:
          type: string
          description: CreateTime specify when configuration was created.
        created_by:
          type: string
          description: CreatedBy specify who created configuration.
        description:
          type: string
          description: Description is optional description of configuration.
        display_name:
          type: string
          description: DisplayName is optional human readable name of configuration. Is equal to Name if not set.
        id:
          type: string
          description: ID is globally unique identifier of configuration.
        name:
          type: string
          description: Name is URL friendly identifier of configuration.
        organization_id:
          type: string
          description: |-
            OrganizationID is globally unique identifier of organization, formerly known as customer,
            under which configuration was created.
        policy_id:
          type: string
        project_id:
          type: string
          description: |-
            ProjectID is globally unique identifier of project, formerly known as application space,
            under which configuration was created.
            Might be empty, if configuration is created directly under organization.
        query:
          type: string
        status:
          type: string
        update_time:
          type: string
          description: UpdateTime specify when configuration was last time updated.
        updated_by:
          type: string
          description: UpdatedBy specify who last time updated configuration.
    httpproxy.readOrganizationResponse:
      type: object
      properties:
        create_time:
          type: string
          description: CreateTime specify when organization was created.
        created_by:
          type: string
          description: CreatedBy specify who created organization.
        description:
          type: string
          description: Description is optional description of organization.
        display_name:
          type: string
          description: DisplayName is optional human readable name of organization. Is equal to Name if not set.
        id:
          type: string
          description: ID is globally unique identifier of organization.
        name:
          type: string
          description: Name is URL friendly identifier of organization.
        update_time:
          type: string
          description: UpdateTime specify when organization was last time updated.
        updated_by:
          type: string
          description: UpdatedBy specify who last time updated organization.
    httpproxy.readProjectResponse:
      type: object
      properties:
        create_time:
          type: string
          description: CreateTime specify when configuration was created.
        created_by:
          type: string
          description: CreatedBy specify who created configuration.
        db_connection:
          type: object
          description: |-
            Database connection information for self hosted database.
            Password is never returned back during read operation.
          allOf:
            - $ref: '#/components/schemas/httpproxy.dbConnection'
        description:
          type: string
          description: Description is optional description of configuration.
        display_name:
          type: string
          description: DisplayName is optional human readable name of configuration. Is equal to Name if not set.
        id:
          type: string
          description: ID is globally unique identifier of configuration.
        ikg_size:
          type: string
          description: |-
            IKG Size that is allocated, with corresponding amount of CPU nodes.

            2GB (1 CPU), 4GB (1 CPU), 8GB (2 CPUs), 16GB (3 CPUs), 32GB (6 CPUs), 64GB (12 CPUs),
            128GB (24 CPUs), 192GB (36 CPUs), 256GB (48 CPUs), 384GB (82 CPUs), and 512GB (96 CPUs).
        ikg_status:
          type: string
          description: IkgStatus is status of the IKG DB instance behind the project.
        name:
          type: string
          description: Name is URL friendly identifier of configuration.
        organization_id:
          type: string
          description: |-
            OrganizationID is globally unique identifier of organization, formerly known as customer,
            under which configuration was created.
        project_id:
          type: string
          description: |-
            ProjectID is globally unique identifier of project, formerly known as application space,
            under which configuration was created.
            Might be empty, if configuration is created directly under organization.
        region:
          type: string
          description: Region specify where the IKG and other data are stored.
        replica_region:
          type: string
          description: "Replica region specify where the second IKG with synchronization is created, if any."
        update_time:
          type: string
          description: UpdateTime specify when configuration was last time updated.
        updated_by:
          type: string
          description: UpdatedBy specify who last time updated configuration.
    httpproxy.readSACredentialResponse:
      type: object
      properties:
        create_time:
          type: string
          description: CreateTime specify when service account credential was registered.
        created_by:
          type: string
          description: CreatedBy specify who created service account credential.
        display_name:
          type: string
          description: DisplayName is human readable name of service account credential.
        expire_time:
          type: string
          description: ExpireTime specify when service account credential will expire.
        id:
          type: string
          description: ID is globally unique identifier of service account credential.
        kid:
          type: string
          description: Kid is public key ID.
        organization_id:
          type: string
          description: |-
            OrganizationID is globally unique identifier of organization, formerly known as customer,
            under which service account credential was created.
        service_account_id:
          type: string
          description: |-
            ServiceAccountID is globally unique identifier of service account,
            under which service account credential was created.
    httpproxy.readTokenIntrospectResponse:
      type: object
      properties:
        claims_mapping:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/httpproxy.claim'
        create_time:
          type: string
          description: CreateTime specify when configuration was created.
        created_by:
          type: string
          description: CreatedBy specify who created configuration.
        description:
          type: string
          description: Description is optional description of configuration.
        display_name:
          type: string
          description: DisplayName is optional human readable name of configuration. Is equal to Name if not set.
        id:
          type: string
          description: ID is globally unique identifier of configuration.
        ikg_node_type:
          type: string
        jwt_matcher:
          $ref: '#/components/schemas/httpproxy.jwtMatcher'
        name:
          type: string
          description: Name is URL friendly identifier of configuration.
        offline_validation:
          $ref: '#/components/schemas/httpproxy.offlineValidation'
        online_validation:
          $ref: '#/components/schemas/httpproxy.onlineValidation'
        opaque_matcher:
          $ref: '#/components/schemas/httpproxy.opaqueMatcher'
        organization_id:
          type: string
          description: |-
            OrganizationID is globally unique identifier of organization, formerly known as customer,
            under which configuration was created.
        perform_upsert:
          type: boolean
        project_id:
          type: string
          description: |-
            ProjectID is globally unique identifier of project, formerly known as application space,
            under which configuration was created.
            Might be empty, if configuration is created directly under organization.
        sub_claim:
          $ref: '#/components/schemas/httpproxy.claim'
        update_time:
          type: string
          description: UpdateTime specify when configuration was last time updated.
        updated_by:
          type: string
          description: UpdatedBy specify who last time updated configuration.
    httpproxy.readTrustScoreProfileResponse:
      type: object
      properties:
        create_time:
          type: string
          description: CreateTime specify when configuration was created.
        created_by:
          type: string
          description: CreatedBy specify who created configuration.
        description:
          type: string
          description: Description is optional description of configuration.
        dimensions:
          type: array
          items:
            $ref: '#/components/schemas/httpproxy.trustScoreProfileDimension'
        dimensions_execution_times:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/httpproxy.trustScoreExecutionWindow'
        display_name:
          type: string
          description: DisplayName is optional human readable name of configuration. Is equal to Name if not set.
        id:
          type: string
          description: ID is globally unique identifier of configuration.
        last_run_end_time:
          type: string
        last_run_id:
          type: string
        last_run_start_time:
          type: string
        name:
          type: string
          description: Name is URL friendly identifier of configuration.
        node_classification:
          type: string
        organization_id:
          type: string
          description: |-
            OrganizationID is globally unique identifier of organization, formerly known as customer,
            under which configuration was created.
        project_id:
          type: string
          description: |-
            ProjectID is globally unique identifier of project, formerly known as application space,
            under which configuration was created.
            Might be empty, if configuration is created directly under organization.
        schedule:
          type: string
        update_time:
          type: string
          description: UpdateTime specify when configuration was last time updated.
        updated_by:
          type: string
          description: UpdatedBy specify who last time updated configuration.
    httpproxy.trustScoreExecutionWindow:
      type: object
      properties:
        execution_end_time:
          type: string
        execution_start_time:
          type: string
    httpproxy.trustScoreProfileDimension:
      required:
        - name
        - weight
      type: object
      properties:
        name:
          type: string
          description: "Name of the trust score dimension, must be one of the predefined names, cannot be modified once set."
          enum:
            - FRESHNESS
            - COMPLETENESS
            - VALIDITY
            - ORIGIN
            - VERIFICATION
        weight:
          maximum: 1
          minimum: 0
          type: number
          description: |-
            Weight represents how relevant the dimension is in the trust score calculation.
            Setting it to zero, means the dimension is disabled.
    httpproxy.updateAppAgentRequest:
      required:
        - api_permissions
      type: object
      properties:
        api_permissions:
          minItems: 1
          type: array
          description: |-
            APIPermissions is a list of API permissions for the agent.
            The agent will only be able to access the APIs specified in this list.
          items:
            type: string
        description:
          maxLength: 65000
          type: string
          description: |-
            Description is optional description of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
        display_name:
          maxLength: 254
          type: string
          description: |-
            DisplayName is optional human readable name of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
    httpproxy.updateApplicationRequest:
      type: object
      properties:
        description:
          maxLength: 65000
          type: string
          description: |-
            Description is optional description of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
        display_name:
          maxLength: 254
          type: string
          description: |-
            DisplayName is optional human readable name of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
    httpproxy.updateAuthorizationPolicyRequest:
      required:
        - policy
        - status
      type: object
      properties:
        description:
          maxLength: 65000
          type: string
          description: |-
            Description is optional description of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
        display_name:
          maxLength: 254
          type: string
          description: |-
            DisplayName is optional human readable name of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
        policy:
          maxLength: 512000
          type: string
          description: Policy is required to be valid JSON format of policy. Format differs based on policy type.
        status:
          type: string
          description: "Status of policy specify whenever it is active or not. If status is DRAFT, it is possible to save invalid policy."
          enum:
            - ACTIVE
            - INACTIVE
            - DRAFT
        tags:
          type: array
          items:
            type: string
    httpproxy.updateConfigResponse:
      type: object
      properties:
        create_time:
          type: string
          description: CreateTime specify when configuration was created.
        created_by:
          type: string
          description: CreatedBy specify who created configuration.
        id:
          type: string
          description: ID of configuration to update.
        update_time:
          type: string
          description: UpdateTime specify when configuration was last time updated.
        updated_by:
          type: string
          description: UpdatedBy specify who last time updated configuration.
    httpproxy.updateEntityMatchingPipelineRequest:
      type: object
      properties:
        description:
          maxLength: 65000
          type: string
          description: |-
            Description is optional description of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
        display_name:
          maxLength: 254
          type: string
          description: |-
            DisplayName is optional human readable name of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
        rerun_interval:
          type: string
          description: RerunInterval is the time between scheduled re-runs (currently not supported).
        similarity_score_cutoff:
          maximum: 1
          minimum: 0
          type: number
          description: "SimilarityScoreCutoff defines the threshold (in range [0,1]), above which entities will be automatically matched."
    httpproxy.updateEventSinkRequest:
      required:
        - providers
        - routes
      type: object
      properties:
        description:
          maxLength: 65000
          type: string
          description: |-
            Description is optional description of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
        display_name:
          maxLength: 254
          type: string
          description: |-
            DisplayName is optional human readable name of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
        providers:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/httpproxy.eventSinkProvider'
          description: "Providers contains the list of supported providers, that are referenced by the Routes."
        routes:
          minItems: 1
          type: array
          description: Routes contains the list of routes to properly route the events to the providers by sequential evaluation model.
          items:
            $ref: '#/components/schemas/httpproxy.eventSinkRoute'
    httpproxy.updateExternalDataResolverRequest:
      required:
        - method
        - request_content_type
        - response_content_type
        - response_selector
        - url
      type: object
      properties:
        description:
          maxLength: 65000
          type: string
          description: |-
            Description is optional description of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
        display_name:
          maxLength: 254
          type: string
          description: |-
            DisplayName is optional human readable name of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
        headers:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: |-
            Headers to be sent with the request, including authorization if needed.
            Be aware that Content-Type is overridden based on request_content_type and Accept by response_content_type.
        method:
          type: string
          description: Method specify HTTP method to be used for the request.
          enum:
            - GET
            - POST
            - PUT
            - PATCH
        request_content_type:
          type: string
          description: |-
            RequestContentType specify format of request body payload and how to set Content-Type header.
            If content-type header is set by Headers, that header will be overridden.
          enum:
            - JSON
        request_payload:
          type: string
          description: |-
            RequestPayload to be sent to the endpoint. It should be in proper format based on request type.
            It is going through the template builder to be properly formatted and filled with data.
        response_content_type:
          type: string
          description: |-
            ResponseContentType specify expected Content-Type header of response. If mismatch with real response, it will fail.
            This also sets Accept header in request. If Accept header is set by Headers, that header will be overridden.
          enum:
            - JSON
        response_selector:
          maxLength: 255
          minLength: 1
          type: string
          description: |-
            ResponseSelector specify selector to extract data from response.
            Should be in requested format based on Response Type.
        url:
          type: string
          description: URL specify full path to endpoint that will be called.
    httpproxy.updateKnowledgeQueryRequest:
      required:
        - policy_id
        - query
        - status
      type: object
      properties:
        description:
          maxLength: 65000
          type: string
          description: |-
            Description is optional description of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
        display_name:
          maxLength: 254
          type: string
          description: |-
            DisplayName is optional human readable name of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
        policy_id:
          type: string
          description: PolicyID is gid formatted ID of the authorization policy that is used to authorize access to queried data.
        query:
          maxLength: 512000
          type: string
          description: "Query is required to be valid JSON format of query, unless status is DRAFT."
        status:
          type: string
          description: "Status of query specify whenever it is active or not. If status is DRAFT, it is possible to save invalid query."
          enum:
            - ACTIVE
            - INACTIVE
            - DRAFT
    httpproxy.updateProjectRequest:
      type: object
      properties:
        db_connection:
          type: object
          description: Database connection information for self hosted database.
          allOf:
            - $ref: '#/components/schemas/httpproxy.dbConnection'
        description:
          maxLength: 65000
          type: string
          description: |-
            Description is optional description of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
        display_name:
          maxLength: 254
          type: string
          description: |-
            DisplayName is optional human readable name of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
    httpproxy.updateServiceAccountRequest:
      type: object
      properties:
        description:
          maxLength: 65000
          type: string
          description: |-
            Description is optional description of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
        display_name:
          maxLength: 254
          type: string
          description: |-
            DisplayName is optional human readable name of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
    httpproxy.updateTokenIntrospectRequest:
      required:
        - claims_mapping
        - ikg_node_type
      type: object
      properties:
        claims_mapping:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/httpproxy.claim'
          description: |-
            ClaimsMapping specifies which claims from the token should be mapped to new names and name of property in IKG.
            Be aware, that this can override any existing claims, which might not be accessible anymore by internal services.
            And with the highest priority, there is mapping of sub claim to 'external_id'.
            So you shouldn't ever use 'external_id' as a key.

            Key specifies the new name and also the name of the property in IKG.
            Value specifies which claim to map and how.
        description:
          maxLength: 65000
          type: string
          description: |-
            Description is optional description of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
        display_name:
          maxLength: 254
          type: string
          description: |-
            DisplayName is optional human readable name of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
        ikg_node_type:
          type: string
          description: IkgNodeType is node type in IKG to which we will try to match sub claim with DT external_id.
        jwt_matcher:
          type: object
          description: |-
            JwtMatcher specifies all attributes to match with received JWT token.
            Only one of JwtMatcher or OpaqueMatcher can be specified.
          allOf:
            - $ref: '#/components/schemas/httpproxy.jwtMatcher'
        offline_validation:
          type: object
          description: |-
            OfflineValidation defines how to validate token signature locally, without reaching out to external services.
            OfflineValidation can be used only with JwtMatcher.
          allOf:
            - $ref: '#/components/schemas/httpproxy.offlineValidation'
        online_validation:
          type: object
          description: |-
            OnlineValidation works with both JWT and Opaque tokens.
            It will call userinfo endpoint to validate token and fetch user claims.
          allOf:
            - $ref: '#/components/schemas/httpproxy.onlineValidation'
        opaque_matcher:
          type: object
          description: |-
            OpaqueMatcher specifies the configuration which is used for opaque tokens.
            Only one of JwtMatcher or OpaqueMatcher can be specified.
          allOf:
            - $ref: '#/components/schemas/httpproxy.opaqueMatcher'
        perform_upsert:
          type: boolean
          description: |-
            PerformUpsert specifies if we should create and/or update DigitalTwin in IKG if it doesn't exist.
            In future this will perform upsert also on properties that are derived from token.
        sub_claim:
          type: object
          description: |-
            SubClaim is used to match DigitalTwin with external_id. If not specified, standard 'sub' claim will be used.
            Either 'sub' or specified claim will then also be mapped to 'external_id' claim.
          allOf:
            - $ref: '#/components/schemas/httpproxy.claim'
    httpproxy.updateTrustScoreProfileRequest:
      type: object
      properties:
        description:
          maxLength: 65000
          type: string
          description: |-
            Description is optional description of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
        dimensions:
          minItems: 1
          type: array
          description: |-
            Dimensions that will be used to calculate the trust score.
            If this field is empty, it will be ignored. Otherwise, it will overwrite the current values.
          items:
            $ref: '#/components/schemas/httpproxy.trustScoreProfileDimension'
        display_name:
          maxLength: 254
          type: string
          description: |-
            DisplayName is optional human readable name of configuration. When kept null, it is not changed.
            But when set to empty string, it will be removed.
        node_classification:
          type: string
          description: |-
            NodeClassification is a node label in PascalCase, cannot be modified once set.
            Must be specified during creation and can be omitted when updating.
          example: NodeType
        schedule:
          type: string
          description: "Schedule sets the time between re-calculations, must be one of the predefined intervals."
          enum:
            - THREE_HOURS
            - SIX_HOURS
            - TWELVE_HOURS
            - DAILY
    restapi.DetailedError:
      type: object
      properties:
        errors:
          type: array
          items:
            type: string
        message:
          type: string
    restapi.ErrorResponse:
      type: object
      properties:
        message:
          type: string
          example: Internal Server Error
  securitySchemes:
    BearerToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer token generated from Service Account credentials.
security:
  - BearerToken: []
x-original-swagger-version: "2.0"
