TubeOnAITubeOnAIDevelopers
Skip to Content
TubeOnAITubeOnAIDevelopers

Add sources to a project

POST
/v1/ai/projects/{id}/sources

Authorization

bearerAuth
headerAuthorizationBearer <token>

Path Parameters

id*string

Header Parameters

Idempotency-Key*string

Request Body

application/json
  1. body
sources*array<string>

1 or more sources: each a URL (added transcript-only) or a library item id.

Response Body

application/json
  1. response
duplicate_count*integer
Range0 <= value
id*string
source_ids*array<string>

Library item ids of the added sources.

Example Request
curl -X POST 'https://beta.app.tubeonai.com/v1/ai/projects/string/sources' \  -H 'Idempotency-Key: string' \  -H 'Content-Type: application/json' \  -d '{  "sources": [    "string"  ]}'
Example Response
{  "duplicate_count": 0,  "id": "string",  "source_ids": [    "string"  ]}