List a campaign's videos
list_videosList the videos (one per prospect) of a Pitchlane campaign, newest first by default, with filters: status (RENDERED, NOT_RENDERED, ERRORED, ISSUE, INVALID_LEAD), search text, viewed, converted, one video by video_id or original_uid. Each row has the prospect's variables, status, the video's landing page (videoUrl) and MP4, timestamps, and why it failed when it did. Use it after add_videos to check renders and to find the test video's link. Answers one page; pass next_cursor as cursor, with the same filters, for the next. detail: "full" returns every field the API has.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"campaign_id": "<campaign_id>"
},
"name": "list_videos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many videos to return, 1 to 100. Defaults to 20; keep it small unless the user needs more. | |
| cursor | No | `next_cursor` from the previous call, to get the next page. Leave it out for the first page, and send the same filters as that call. | |
| detail | No | `concise` (default): the fields above. `full`: every field of each video, including embed HTML and thumbnails. Use `full` with a small `limit`. | concise |
| search | No | Text to find, in any case, in the title, ids and the lead's values, e.g. a name or a domain. Slower on large campaigns. | |
| status | No | Only videos in this state. `RENDERED`: ready to send. `NOT_RENDERED`: waiting or rendering. `ERRORED`: could not be made (see `problem`). `ISSUE`: a problem was reported with it. `INVALID_LEAD`: the lead's data was refused. | |
| viewed | No | `true`: only videos a prospect has viewed. `false`: only never-viewed ones. | |
| sort_by | No | What to sort by. Each row has its `views` and `starts`; conversions are sorted by but not shown. | created_at |
| video_id | No | Only the video with this id. | |
| converted | No | `true`: only videos whose prospect clicked through or booked. | |
| descending | No | `true` (default): newest or highest first. `false`: oldest or lowest first. | |
| campaign_id | Yes | The campaign's id, as list_campaigns returns it, e.g. `o6duFik0_UNSUGPCn1LTm`. | |
| original_uid | No | Only the video with this `originalUid` (the user's own id for the lead). |