ToolYour

ToolYour

API Docs

YouTube video insights

POST
/api/v1/ai-models/youtube-insight

Authorization

ApiKeyAuth
X-Api-Key<token>

API key created via POST /api/v1/api-keys (shown once at creation)

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/ai-models/youtube-insight" \  -H "Content-Type: application/json" \  -d '{    "youtubeUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",    "prompt": "What are the main themes discussed?"  }'
{  "status": true,  "code": 201,  "message": "string",  "result": "string",  "meta": {},  "error": "string",  "retryAfterSeconds": 0}
{  "message": "string",  "detail": "string",  "status": false,  "code": 0,  "error": "string"}
Empty
{  "message": "string",  "detail": "string",  "status": false,  "code": 0,  "error": "string"}
Empty
Empty