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

# Get saved filter

> Returns a saved filter of the project.

Required API key permission: `observe:savedFilters:read`.



## OpenAPI

````yaml /api-reference/openapi/observe.yaml get /observe/savedFilters/{savedFilterID}
openapi: 3.1.1
info:
  version: 1.0.0
  title: Corbado API
  description: >
    # Introduction

    This documentation gives an overview of all Corbado API calls to implement
    authentication observe.
  contact:
    name: Corbado team
    email: support@corbado.com
    url: https://www.corbado.com
servers:
  - url: https://api.cloud.corbado.io/v1
security:
  - bearerAuth: []
tags:
  - name: ObserveFlow
    description: Flow search and related APIs
    x-group: Journeys and users
  - name: ObserveSubFlow
    description: Subflow search and related APIs
    x-group: Journeys and users
  - name: ObserveUser
    description: User search and related APIs
    x-group: Journeys and users
  - name: ObserveIdentifier
    description: Identifier search over submitted identifiers
    x-group: Journeys and users
  - name: ObservePasskeyIntelligence
    description: Passkey login predictions and support diagnosis
    x-group: Passkey Intelligence
  - name: ObserveClientEnv
    description: Client environment search APIs
    x-group: Journeys and users
  - name: ObserveTimeSeries
    description: Time series query APIs
    x-group: Metrics and funnels
  - name: ObserveFunnel
    description: Historical funnel metrics, dictionaries and coverage.
    x-group: Metrics and funnels
  - name: ObserveEvent
    description: Event ingestion and event feed APIs
    x-group: Events
  - name: ObserveError
    description: Named authentication errors.
    x-group: Error management
  - name: ObserveErrorFlavour
    description: Error variants and their impact on authentication outcomes.
    x-group: Error management
  - name: ObserveErrorModel
    description: >-
      The Observe error model, imported as one bundle file per version (Corbado
      internal)
  - name: ObserveFinding
    description: Curated findings that explain errors, their impact and who has to act.
    x-group: Error management
  - name: ObserveAlert
    description: Authentication alert rules, instances and history.
    x-group: Alert management
  - name: ObserveAnnotation
    description: >-
      Annotations, the project's memory (what is true about the data and how to
      read it)
    x-group: Annotations
  - name: ObserveTableExport
    description: Table export file listing and download APIs
    x-group: Data exports
  - name: ObserveTimeSeriesExport
    description: Time-series export generation and downloads.
    x-group: Data exports
  - name: ObserveDataExport
    description: Data export APIs
    x-group: User data
  - name: ObserveDataDeletionJob
    description: Data deletion job APIs
    x-group: User data
  - name: ObserveFlowTypeDefinition
    description: Flow type definitions used in authentication journeys.
    x-group: Catalogs and labels
  - name: ObserveCatalog
    description: Catalog APIs
    x-group: Catalogs and labels
  - name: ObserveSavedFilter
    description: >-
      Saved filters, named flow filters a project stores once and applies by
      reference
    x-group: Saved filters
  - name: OpenAPI
    description: Downloadable API specification
  - name: ProjectOperationExecution
    description: Project-scoped operation history and pipeline health
  - name: ObserveClassification
    description: Flow and subflow classification APIs
  - name: ObserveIntegrationStats
    description: Integration stats APIs
  - name: ObserveTimeSeriesPrecalculation
    description: Time series precalculation APIs
  - name: ObserveIDList
    x-group: Saved ID lists
    description: Stored ID-list selection APIs
  - name: ObserveDataContext
    description: Schema-loose data context APIs for agent and debugging tooling
  - name: ObserveData
    description: Observe data administration APIs
  - name: ObserveTrackingStats
    description: Tracking ingestion stats APIs
  - name: ObserveProbe
    description: Raw probe capture items (internal autocapture diagnostics)
  - name: ObserveTelemetry
    description: Raw SDK/integration diagnostic telemetry
  - name: ObserveExperiment
    x-group: Experiments
    description: Experiment catalog and run APIs
  - name: ObserveDataPolicy
    description: >-
      Project data policy catalogue (retention selected by the SDK's
      meta.dataPolicy code)
  - name: ObserveMetadata
    x-group: Metadata
    description: Authenticator metadata APIs
  - name: ObserveSri
    description: Subresource Integrity hashes of the scripts Corbado hosts for a project
  - name: ObserveAutocapture
    description: >-
      Autocapture builds, candidates and releases, registered by Corbado's
      delivery pipeline
  - name: ObserveNotification
    description: >-
      Who is notified about what happens in a project, e.g. autocapture
      releases, and how it was delivered
  - name: ObservePasskey
    x-group: Passkey analysis
    description: Observed passkey search and cohort analysis.
paths:
  /observe/savedFilters/{savedFilterID}:
    get:
      tags:
        - ObserveSavedFilter
      summary: Get saved filter
      description: |-
        Returns a saved filter of the project.

        Required API key permission: `observe:savedFilters:read`.
      operationId: ObserveSavedFilterGet
      parameters:
        - name: savedFilterID
          in: path
          required: true
          description: Saved filter ID (format `svf-<number>`).
          schema:
            type: string
          x-oapi-codegen-extra-tags:
            validate: required,id=svf
      responses:
        '200':
          description: Saved filter.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/observeSavedFilter'
        default:
          $ref: '#/components/responses/error'
      security:
        - bearerAuth:
            - observe:savedFilters:read
components:
  schemas:
    observeSavedFilter:
      type: object
      required:
        - id
        - name
        - definition
        - version
        - isDefault
        - createdMs
        - updatedMs
      properties:
        id:
          type: string
          description: Saved filter ID (format `svf-<number>`).
        name:
          type: string
          description: Name of the saved filter, unique within the project.
        description:
          type: string
          description: Optional description.
        definition:
          $ref: '#/components/schemas/observeSavedFilterDefinition'
        version:
          type: integer
          format: int64
          description: >-
            Starts at 1 and is incremented on every definition change (not on
            name or description changes).

            Together with `id` it identifies one definition, e.g. for cache
            keys.
        isDefault:
          type: boolean
          description: Whether this is the project's default saved filter.
        createdMs:
          type: integer
          format: int64
          description: Creation time in milliseconds since epoch.
        updatedMs:
          type: integer
          format: int64
          description: Last update time in milliseconds since epoch.
    observeSavedFilterDefinition:
      type: object
      description: >-
        Saved filter definition (`saved-filter-v1`). Limits: conditions nest at
        most 6 levels deep (the root

        condition is level 1), at most 50 dimension or tag conditions, at most
        200 values per `in`/`notIn` list,

        tag keys of 1-255 characters. Unknown fields are rejected.
      x-go-type: json.RawMessage
      additionalProperties: false
      required:
        - schemaVersion
        - target
        - condition
      properties:
        schemaVersion:
          type: string
          enum:
            - saved-filter-v1
        target:
          type: string
          enum:
            - flows
        condition:
          $ref: '#/components/schemas/observeSavedFilterCondition'
    errorRspV2:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - message
          properties:
            message:
              description: Error message
              type: string
              example: Validation failed
            details:
              description: Validation error details per field
              type: array
              items:
                type: object
                required:
                  - field
                  - message
                properties:
                  field:
                    description: Field name that failed validation
                    type: string
                    example: projectID
                  message:
                    description: Validation error message
                    type: string
                    example: required
    observeSavedFilterCondition:
      description: >-
        A condition: `all` (every condition matches; `all: []` matches every
        flow), `any` (at least one

        matches; `any: []` matches none), `not`, or a dimension or tag condition
        with exactly one of `in` /

        `notIn` (`in: []` matches none, `notIn: []` every flow). A `null` value
        matches flows where the

        dimension or tag is absent or empty; empty strings are rejected.
        `application` values are application

        IDs (`app-<number>`).


        On read endpoints, `condition` is the dimension and tag filter. Their
        older per-dimension and tag fields

        are compatibility shorthands, combined (AND) with it: they get no new
        dimensions, operators or values, and

        endpoints added from now on take `condition` only.
      x-go-type: json.RawMessage
      oneOf:
        - type: object
          title: all
          additionalProperties: false
          required:
            - all
          properties:
            all:
              type: array
              items:
                $ref: '#/components/schemas/observeSavedFilterCondition'
        - type: object
          title: any
          additionalProperties: false
          required:
            - any
          properties:
            any:
              type: array
              items:
                $ref: '#/components/schemas/observeSavedFilterCondition'
        - type: object
          title: not
          additionalProperties: false
          required:
            - not
          properties:
            not:
              $ref: '#/components/schemas/observeSavedFilterCondition'
        - type: object
          title: dimension
          additionalProperties: false
          required:
            - dimension
          properties:
            dimension:
              type: string
              enum:
                - application
                - osName
                - osVersion
                - browserName
                - touchpoint
                - visitorType
            in:
              $ref: '#/components/schemas/observeSavedFilterValues'
            notIn:
              $ref: '#/components/schemas/observeSavedFilterValues'
        - type: object
          title: tag
          additionalProperties: false
          required:
            - tag
          properties:
            tag:
              type: string
              minLength: 1
              maxLength: 255
            in:
              $ref: '#/components/schemas/observeSavedFilterValues'
            notIn:
              $ref: '#/components/schemas/observeSavedFilterValues'
    observeSavedFilterValues:
      type: array
      maxItems: 200
      x-go-type: '[]*string'
      items:
        type:
          - string
          - 'null'
        minLength: 1
  responses:
    error:
      description: Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/errorRspV2'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Use an Observe API key from the management console. The key selects the
        project and must grant the permission listed on the operation. Keep this
        key on your server.

````

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