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

# Search Freepik Assets



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json get /api/v1/media/integrations/freepik/search
openapi: 3.1.0
info:
  title: CATTIX API
  description: CATTIX Backend API
  version: 0.107.0
servers:
  - url: http://localhost:8000
    description: Local
  - url: https://dev-api.cattix.com
    description: Development
  - url: https://staging-api.cattix.com
    description: Staging
  - url: https://api.cattix.com
    description: Production
security: []
paths:
  /api/v1/media/integrations/freepik/search:
    get:
      tags:
        - Media
      summary: Search Freepik Assets
      operationId: search_freepik_assets_api_v1_media_integrations_freepik_search_get
      parameters:
        - name: query
          in: query
          required: true
          schema:
            type: string
            minLength: 1
            description: Search query
            title: Query
          description: Search query
        - name: page
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Page number (1-100)
            default: 1
            title: Page
          description: Page number (1-100)
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 50
            minimum: 1
            description: Results per page
            default: 20
            title: Limit
          description: Results per page
        - name: order
          in: query
          required: false
          schema:
            enum:
              - relevance
              - recent
            type: string
            description: Sort order
            default: relevance
            title: Order
          description: Sort order
        - name: orientation
          in: query
          required: false
          schema:
            anyOf:
              - enum:
                  - landscape
                  - portrait
                  - square
                  - panoramic
                type: string
              - type: 'null'
            description: Filter by orientation
            title: Orientation
          description: Filter by orientation
        - name: content_type
          in: query
          required: false
          schema:
            anyOf:
              - enum:
                  - photo
                  - psd
                  - vector
                type: string
              - type: 'null'
            description: Filter by content type
            title: Content Type
          description: Filter by content type
        - name: license
          in: query
          required: false
          schema:
            anyOf:
              - enum:
                  - freemium
                  - premium
                type: string
              - type: 'null'
            description: Filter by license
            title: License
          description: Filter by license
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FreepikSearchResponseSchema'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    FreepikSearchResponseSchema:
      properties:
        assets:
          items:
            $ref: '#/components/schemas/FreepikAssetSchema'
          type: array
          title: Assets
        total:
          type: integer
          title: Total
        page:
          type: integer
          title: Page
        limit:
          type: integer
          title: Limit
      type: object
      required:
        - assets
        - total
        - page
        - limit
      title: FreepikSearchResponseSchema
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    FreepikAssetSchema:
      properties:
        id:
          type: string
          title: Id
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
        preview_url:
          type: string
          title: Preview Url
        thumbnail_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Thumbnail Url
        author:
          anyOf:
            - type: string
            - type: 'null'
          title: Author
        tags:
          items:
            type: string
          type: array
          title: Tags
      type: object
      required:
        - id
        - preview_url
      title: FreepikAssetSchema
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: api/v1/users/authorization/token

````