---
title: "Search Videos"
method: POST
path: "/api/v1/aRole/twelvelabs/search"
tags: ["aRole"]
---

# Search Videos

`POST /api/v1/aRole/twelvelabs/search`

## Request

- Base URL: `https://api.brandbooster.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.brandbooster.ai/api/v1/aRole/twelvelabs/search`
- Auth: HTTP bearer

Search videos in user's TwelveLabs index with optional orientation filter.

Args:
    query_text: The text to search for in the videos
    orientation: Optional filter for video orientation ('horizontal', 'vertical', or 'square')
    db: Database session
    user: The authenticated user
    
Returns:
    JSON response with search results

## Query parameters

- `query_text` string, required
- `orientation` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/brandbooster/apis/brandbooster-api.md) - [All operations](https://skmtc.dev/brandbooster/apis/brandbooster-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brandbooster/apis/brandbooster-api/revisions/f84fc05f417b?raw)
