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

# List organization request-log filter values

> Administrator-only filter values for the organization request-log list.



## OpenAPI

````yaml /openapi/next.yaml get /gateway/request-logs/facets
openapi: 3.1.0
info:
  title: Blue — Service Contract
  version: 0.1.0
  description: >
    The client-side contract the `blue` CLI expects from the provisioned
    service. The reference `control-api` implements it; any BYO service that
    honors these shapes can be swapped in. Gateway-mode inference JWT issuance
    is OPTIONAL — governance-only deployments need only `GET
    /governance-config`. CLI callers use OAuth 2.0 access tokens issued through
    RFC 8628 device authorization; dashboard callers use an HTTP-only Better
    Auth session cookie.
servers:
  - url: https://harness.example.com
    description: Replace with the Control API URL for your deployment.
security:
  - oauthDevice: []
tags:
  - name: System
    description: Service health and authenticated identity.
  - name: Configuration
    description: Personalized governance policy and client reconciliation state.
  - name: Gateway
    description: Per-user managed inference-gateway credential lifecycle.
  - name: Sessions
    description: Raw-session upload, metadata, and download lifecycle.
  - name: Administration
    description: Organization-administrator policy and client operations.
  - name: User management
    description: >-
      Organization user lifecycle, session revocation, and invitation
      operations.
  - name: Identity provisioning
    description: SCIM 2.0 user and group provisioning for an external identity provider.
paths:
  /gateway/request-logs/facets:
    get:
      tags:
        - Gateway
      summary: List organization request-log filter values
      description: Administrator-only filter values for the organization request-log list.
      operationId: getGatewayRequestLogFacets
      parameters:
        - name: user_q
          in: query
          description: Case-insensitive email substring; user results are limited to 10.
          schema:
            type: string
            maxLength: 200
        - name: selected_user_id
          in: query
          description: Relevant selected user to prioritize in the bounded result.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Visible users, profiles, models, harnesses, and result categories
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayRequestLogFacets'
        '403':
          description: Administrator access required
components:
  schemas:
    GatewayRequestLogFacets:
      type: object
      required:
        - users
        - profiles
        - models
        - harnesses
        - results
      properties:
        users:
          type: array
          items:
            type: object
            required:
              - id
              - email
            properties:
              id:
                type: string
                format: uuid
              email:
                type: string
                format: email
        profiles:
          type: array
          items:
            type: object
            required:
              - id
            properties:
              id:
                type: string
              name:
                type:
                  - string
                  - 'null'
        models:
          type: array
          items:
            type: string
        harnesses:
          type: array
          items:
            type: string
        results:
          type: array
          items:
            $ref: '#/components/schemas/GatewayRequestResult'
    GatewayRequestResult:
      type: string
      enum:
        - success
        - redirect
        - client_error
        - server_error
        - transport_error
  securitySchemes:
    oauthDevice:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >
        OAuth 2.0 access token obtained through RFC 8628 at
        /api/auth/device/code and /api/auth/oauth2/token. The API enforces
        governance:read, session:write, and client-status:write as appropriate.

````