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

# Search



## OpenAPI

````yaml /openapi.json get /v1/wikis/{wiki_id}/search
openapi: 3.1.0
info:
  description: Versioned API for hosted Almanac wikis.
  title: Almanac V1 API
  version: 0.5.0
servers:
  - url: https://api.usealmanac.com
security:
  - bearerAuth: []
tags:
  - description: Session, onboarding, overview, and email preferences.
    name: Account
  - description: Workspace discovery and details.
    name: Workspaces
  - description: Wiki creation, listing, and details.
    name: Wikis
  - description: Wiki pages, search, topics, and provenance.
    name: Pages
  - description: Source records, trees, search, and original files.
    name: Sources
  - description: Source uploads and upload records.
    name: Uploads
  - description: Ingest and Garden jobs, events, and outcomes.
    name: Jobs
  - description: Workspace-scoped developer keys.
    name: API keys
  - description: Workspace membership and invitations.
    name: Members
  - description: Workspace plans, usage, and billing portal.
    name: Billing
paths:
  /v1/wikis/{wiki_id}/search:
    get:
      tags:
        - Pages
      summary: Search
      operationId: search_v1_wikis__wiki_id__search_get
      parameters:
        - in: path
          name: wiki_id
          required: true
          schema:
            title: Wiki Id
            type: string
        - in: query
          name: q
          required: true
          schema:
            title: Q
            type: string
        - in: query
          name: limit
          required: false
          schema:
            default: 50
            title: Limit
            type: integer
        - in: query
          name: offset
          required: false
          schema:
            default: 0
            title: Offset
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/PageSearchResult'
                title: Response Search V1 Wikis  Wiki Id  Search Get
                type: array
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: string
                  message:
                    type: string
                  request_id:
                    type: string
                required:
                  - error
                  - message
                  - request_id
                type: object
          description: Invalid request
components:
  schemas:
    PageSearchResult:
      additionalProperties: false
      properties:
        excerpt:
          title: Excerpt
          type: string
        folder:
          title: Folder
          type: string
        name:
          title: Name
          type: string
        page_id:
          title: Page Id
          type: string
        path:
          title: Path
          type: string
        rank:
          title: Rank
          type: number
        status:
          enum:
            - active
            - archived
          title: Status
          type: string
        status_label:
          title: Status Label
          type: string
        status_state:
          enum:
            - ready
            - running
            - failed
            - unknown
          title: Status State
          type: string
        summary:
          title: Summary
          type: string
        title:
          title: Title
          type: string
        updated_at:
          title: Updated At
          type: string
        wiki_id:
          title: Wiki Id
          type: string
      required:
        - page_id
        - wiki_id
        - path
        - title
        - status
        - updated_at
        - folder
        - name
        - status_state
        - status_label
        - summary
        - rank
        - excerpt
      title: PageSearchResult
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: Almanac access token or API key
      scheme: bearer
      type: http

````