> ## 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/#NOTION_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/#NOTION_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: NOTION_SEARCH_PAGES
                parameters:
                  type: object
                  properties:
                    query:
                      type: string
                      description: >-
                        Query : The text that the API compares page and database
                        titles against.
                    objectType:
                      type: string
                      description: 'Object Type : The type of object to search for.'
                      enum:
                        - page
                        - database
                    direction:
                      type: string
                      description: 'Direction : The direction to sort the results by.'
                      enum:
                        - ascending
                        - descending
                    pageSize:
                      type: number
                      description: >-
                        Limit : The number of records to return, returns all
                        records if not specified.
                  x-integration: notion
              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.

````