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

# Search Pages



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#ONENOTE_SEARCH_PAGES
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#ONENOTE_SEARCH_PAGES:
    post:
      summary: Search Pages
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: ONENOTE_SEARCH_PAGES
                parameters:
                  type: object
                  properties:
                    type:
                      type: string
                      description: 'Type : Select the Type of your operation.'
                      enum:
                        - users
                        - groups
                        - sites
                        - me
                    userId:
                      type: string
                      description: >-
                        User ID : Specify the ID of the User to Search Pages.
                        (example:
                        "1-22db9939679d4eada2698a4e983f7a63!245-45b54f25-123d-4db3-a286-b82791117671") 

                        This field appears only when 'type' = 'users')
                    groupId:
                      type: string
                      description: >-
                        Group ID : Specify the ID of the Group to Search Pages.
                        (example:
                        "1-22db9939679d4eada2698a4e983f7a63!245-45b54f25-123d-4db3-a286-b82791117671") 

                        This field appears only when 'type' = 'groups')
                    siteId:
                      type: string
                      description: >-
                        Site ID : Specify the ID of the Site to Search Pages.
                        (example:
                        "1-22db9939679d4eada2698a4e983f7a63!245-45b54f25-123d-4db3-a286-b82791117671") 

                        This field appears only when 'type' = 'sites')
                    pagesFilterFormula:
                      type: object
                      description: >-
                        A filter in disjunctive normal form: OR of AND groups of
                        single conditions
                      properties:
                        operator:
                          type: string
                          description: Top-level operator must be OR (DNF enforced)
                          enum:
                            - OR
                        conditions:
                          type: array
                          description: >-
                            Each item is an AND group (a conjunction of single
                            conditions)
                          items:
                            type: object
                            properties:
                              operator:
                                type: string
                                description: Each group is an AND of single conditions
                                enum:
                                  - AND
                              conditions:
                                type: array
                                description: List of single conditions (AND together)
                                items:
                                  type: object
                                  properties:
                                    field:
                                      type: string
                                      enum:
                                        - id
                                        - title
                                        - createdDateTime
                                        - lastModifiedDateTime
                                        - level
                                        - order
                                        - self
                                        - contentUrl
                                    operator:
                                      type: string
                                      enum:
                                        - $stringExactlyMatches
                                        - $stringDoesNotExactlyMatch
                                        - $stringContains
                                        - $stringDoesNotEndWith
                                        - $stringEndsWith
                                        - $stringStartsWith
                                        - $dateTimeAfter
                                        - $dateTimeBefore
                                        - $dateTimeEquals
                                        - $booleanFalse
                                        - $booleanTrue
                                    value:
                                      type: string
                                      description: Value to compare against
                                  required:
                                    - field
                                    - operator
                                    - value
                            required:
                              - operator
                              - conditions
                      required:
                        - operator
                        - conditions
                    paginationParameters:
                      type: object
                      description: Pagination Parameters
                      properties:
                        skip:
                          type: number
                          description: Skip($skip) for skip the number of items to return
                        limit:
                          type: number
                          description: >-
                            Limit($top) to limit the number of items to return.
                            Using this parameter will not return a
                            nextPageCursor, which means it does not indicate
                            whether there are more records to fetch. By default,
                            oneNote API returns 20 items.
                  required:
                    - type
                    - userId
                    - groupId
                    - siteId
                  x-integration: onenote
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````