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

# Search linkvite

> **Scope:** `search:read` · **Rate limit:** 250 requests per 5 minutes



## OpenAPI

````yaml /api-reference/openapi.json get /v1/search
openapi: 3.1.0
info:
  contact:
    email: support@linkvite.io
    name: Linkvite
    url: https://linkvite.io
  description: >-
    The Linkvite REST API. Generated from the cultus source by tools/openapi; do
    not edit by hand.
  title: Linkvite API
  version: 1.0.0
servers:
  - description: Production
    url: https://api.linkvite.io
  - description: Staging
    url: https://api-stg.linkvite.io
security: []
tags:
  - description: Keys for scripts and servers acting as your account.
    name: API keys
  - description: OAuth apps you've built, and the apps you've authorized.
    name: Apps
  - description: Links, notes and files you've saved.
    name: Bookmarks
  - description: Folders of bookmarks, private or shared.
    name: Collections
  - description: Discussion on bookmarks in shared collections.
    name: Comments
  - description: Recommendations and trending links.
    name: Explore
  - description: Downloads and share links for uploaded files.
    name: Files
  - description: Highlights and notes on saved pages.
    name: Highlights
  - description: Shareable links that let people join a collection.
    name: Invite links
  - description: Invitations to collaborate on a collection.
    name: Invites
  - description: Your notifications.
    name: Notifications
  - description: Fetch metadata for a link, and import from other services.
    name: Parser
  - description: Plans and subscription status.
    name: Plans
  - description: Public profiles, their collections, follows and blocks.
    name: Profiles
  - description: RSS feeds that save new items into a collection.
    name: RSS feeds
  - description: Reminders to revisit a bookmark.
    name: Reminders
  - description: Search your library, and image search for covers.
    name: Search
  - description: The feed from people you follow.
    name: Social
  - description: Your account, settings, storage and sessions.
    name: User
paths:
  /v1/search:
    get:
      tags:
        - Search
      summary: Search linkvite
      description: '**Scope:** `search:read` · **Rate limit:** 250 requests per 5 minutes'
      operationId: searchLinkvite
      parameters:
        - in: query
          name: owner
          schema:
            type: string
        - in: query
          name: path
          schema:
            default: bookmarks
            type: string
        - in: query
          name: q
          schema:
            type: string
        - in: query
          name: page
          schema:
            default: 1
            type: integer
        - in: query
          name: limit
          schema:
            default: 10
            type: integer
        - in: query
          name: sort
          schema:
            default: '-date'
            type: string
        - in: query
          name: status
          schema:
            default: active
            type: string
        - in: query
          name: types
          schema:
            type: string
        - in: query
          name: collection
          schema:
            type: string
        - in: query
          name: in
          schema:
            type: string
        - in: query
          name: public
          schema:
            default: true
            type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/SearchLinkviteResponse'
                  message:
                    type: string
                  ok:
                    const: true
                    type: boolean
                required:
                  - ok
                  - data
                type: object
          description: Success
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      security:
        - apiKey: []
        - oauth2:
            - search:read
        - bearer: []
      x-codeSamples:
        - lang: bash
          label: curl
          source: |
            curl -X GET "https://api.linkvite.io/v1/search" \
              -H "x-api-key: $LINKVITE_API_KEY"
        - lang: javascript
          label: JavaScript
          source: |-
            import {Linkvite} from '@linkvite/js';

            const linkvite = new Linkvite(process.env.LINKVITE_API_KEY);
            const data = await linkvite.search.search();
        - lang: go
          label: Go
          source: |-
            client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
            data, err := client.Search.Search(ctx, nil)
components:
  schemas:
    SearchLinkviteResponse:
      properties:
        bookmarks:
          items:
            $ref: '#/components/schemas/Bookmark'
          type: array
        bookmarks_pagination:
          anyOf:
            - $ref: '#/components/schemas/Pagination'
            - type: 'null'
        collections:
          items:
            $ref: '#/components/schemas/CollectionSearchResult'
          type: array
        collections_pagination:
          anyOf:
            - $ref: '#/components/schemas/Pagination'
            - type: 'null'
        highlights:
          items:
            $ref: '#/components/schemas/Highlight'
          type: array
        highlights_pagination:
          anyOf:
            - $ref: '#/components/schemas/Pagination'
            - type: 'null'
        users:
          items:
            $ref: '#/components/schemas/ProfileHit'
          type: array
        users_pagination:
          anyOf:
            - $ref: '#/components/schemas/Pagination'
            - type: 'null'
      required:
        - bookmarks
        - bookmarks_pagination
        - collections
        - collections_pagination
        - highlights
        - highlights_pagination
        - users
        - users_pagination
      type: object
    Bookmark:
      properties:
        allow_comments:
          type: boolean
        archive_size:
          type: number
        archive_status:
          enum:
            - failed
            - pending
            - success
          type: string
        collection_id:
          type:
            - string
            - 'null'
        created_at:
          format: date-time
          type: string
        description:
          type: string
        icon:
          type: string
        id:
          type: string
        is_broken:
          type: boolean
        last_opened_at:
          format: date-time
          type:
            - string
            - 'null'
        local_id:
          type:
            - string
            - 'null'
        mime_type_id:
          enum:
            - 0
            - 1
            - 10
            - 11
            - 12
            - 13
            - 14
            - 15
            - 16
            - 17
            - 18
            - 19
            - 2
            - 20
            - 21
            - 3
            - 4
            - 5
            - 6
            - 7
            - 8
            - 9
          format: int64
          type: integer
        old_collection_id:
          type: string
        processing:
          type: boolean
        rss_feed_id:
          type:
            - string
            - 'null'
        size:
          type: number
        status:
          enum:
            - active
            - trashed
          type: string
        tags:
          type: string
        thumbnail:
          type: string
        title:
          type: string
        type:
          type: string
        updated_at:
          format: date-time
          type: string
        updated_by_id:
          type:
            - string
            - 'null'
        url:
          type: string
        user_id:
          type: string
        views:
          format: int64
          type: integer
      required:
        - allow_comments
        - archive_size
        - archive_status
        - collection_id
        - created_at
        - icon
        - id
        - is_broken
        - last_opened_at
        - local_id
        - mime_type_id
        - old_collection_id
        - processing
        - size
        - status
        - tags
        - thumbnail
        - title
        - type
        - updated_at
        - updated_by_id
        - url
        - user_id
        - views
      type: object
    Pagination:
      properties:
        last_page:
          format: int64
          type: integer
        limit:
          format: int64
          type: integer
        page:
          format: int64
          type: integer
        q:
          type: string
        total:
          format: int64
          type: integer
      required:
        - last_page
        - limit
        - page
        - total
      type: object
    CollectionSearchResult:
      description: >-
        is a collection hit plus its owner, and whether the searcher is its
        owner or a member (open it as their own) or not (open the read-only
        public view at /u/:owner_username/:id).
      properties:
        allow_public_join:
          type: boolean
        created_at:
          format: date-time
          type: string
        description:
          type: string
        icon:
          type: string
        id:
          type: string
        is_private:
          type: boolean
        last_opened_at:
          format: date-time
          type:
            - string
            - 'null'
        member:
          type: boolean
        name:
          type: string
        owner_avatar:
          type: string
        owner_name:
          type: string
        owner_username:
          type: string
        parent_id:
          type:
            - string
            - 'null'
        role:
          enum:
            - admin
            - viewer
          type: string
        status:
          enum:
            - active
            - inactive
          type: string
        thumbnail:
          type: string
        updated_at:
          format: date-time
          type: string
        updated_by_id:
          type:
            - string
            - 'null'
        user_id:
          type: string
        views:
          format: int64
          type: integer
      required:
        - allow_public_join
        - created_at
        - icon
        - id
        - is_private
        - last_opened_at
        - member
        - name
        - owner_avatar
        - owner_name
        - owner_username
        - parent_id
        - role
        - status
        - thumbnail
        - updated_at
        - updated_by_id
        - user_id
        - views
      type: object
    Highlight:
      properties:
        bookmark_id:
          type: string
        color:
          enum:
            - lv-highlighter-1
            - lv-highlighter-2
            - lv-highlighter-3
            - lv-highlighter-4
            - lv-highlighter-5
          type: string
        created_at:
          format: date-time
          type: string
        end:
          format: int64
          type: integer
        exact:
          type: string
        id:
          type: string
        note:
          type: string
        start:
          format: int64
          type: integer
        updated_at:
          format: date-time
          type: string
        user_id:
          type: string
      required:
        - bookmark_id
        - color
        - created_at
        - end
        - exact
        - id
        - note
        - start
        - updated_at
        - user_id
      type: object
    ProfileHit:
      description: is a people-search result plus the searcher's relation to them.
      properties:
        account_type:
          enum:
            - enterprise
            - free
            - pro
          type: string
        avatar:
          type: string
        created_at:
          format: date-time
          type: string
        follow:
          type: string
        follows_you:
          type: boolean
        friends:
          type: boolean
        id:
          type: string
        name:
          type: string
        private_account:
          type: boolean
        role:
          enum:
            - admin
            - viewer
          type: string
        status:
          enum:
            - active
            - deleted
            - suspended
          type: string
        username:
          type: string
        verified:
          type: boolean
      required:
        - account_type
        - avatar
        - created_at
        - follow
        - follows_you
        - friends
        - id
        - name
        - private_account
        - status
        - username
        - verified
      type: object
    ErrorResponse:
      properties:
        error:
          description: Human-readable message.
          type: string
        errors:
          additionalProperties:
            type: string
          description: Field -> problem, for validation errors.
          type: object
        ok:
          const: false
          type: boolean
        request_id:
          description: Quote this when contacting support (also the X-Request-ID header).
          type: string
      required:
        - ok
      type: object
  responses:
    Error:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Error
  securitySchemes:
    apiKey:
      description: An API key from Settings → Developers.
      in: header
      name: x-api-key
      type: apiKey
    oauth2:
      flows:
        authorizationCode:
          authorizationUrl: https://app.linkvite.io/authorize
          refreshUrl: https://api.linkvite.io/v1/oauth/token
          scopes:
            api-keys:read: Read api-keys
            apps:read: Read apps
            bookmarks:delete: Delete bookmarks
            bookmarks:edit: Edit bookmarks
            bookmarks:read: Read bookmarks
            bookmarks:write: Write bookmarks
            collections:delete: Delete collections
            collections:edit: Edit collections
            collections:read: Read collections
            collections:write: Write collections
            comments:delete: Delete comments
            comments:read: Read comments
            comments:write: Write comments
            explore:read: Read explore
            files:read: Read files
            highlights:delete: Delete highlights
            highlights:edit: Edit highlights
            highlights:read: Read highlights
            highlights:write: Write highlights
            invite-links:delete: Delete invite-links
            invite-links:edit: Edit invite-links
            invite-links:write: Write invite-links
            invites:edit: Edit invites
            invites:read: Read invites
            plans:read: Read plans
            reminders:delete: Delete reminders
            reminders:edit: Edit reminders
            reminders:read: Read reminders
            reminders:write: Write reminders
            rss-feeds:delete: Delete rss-feeds
            rss-feeds:edit: Edit rss-feeds
            rss-feeds:read: Read rss-feeds
            rss-feeds:write: Write rss-feeds
            search:read: Read search
            user:edit: Edit user
            user:read: Read user
            user:storage:read: Storage:read user
            user:trash:delete: Trash:delete user
          tokenUrl: https://api.linkvite.io/v1/oauth/token
      type: oauth2
    bearer:
      description: An access token (OAuth, or a first-party session).
      scheme: bearer
      type: http

````

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