{"openapi":"3.1.0","info":{"title":"api.video Library (BYOK) API","version":"0.1.0","description":"api.video Library (BYOK) lets an AI assistant read your own api.video Library data through the api.video Library API with a key you supply (production API key (sent as the Basic auth user name)). Read-only: 8 tools (list_webhooks, get_webhook, list_tags, list_video_chapters, get_video_chapter, list_summaries, list_discarded_videos, get_discarded_video). The BYOK key travels with each request, is...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-apivideo-library.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-apivideo-library/docs"},"termsOfService":"https://connectorbay.com/byok-apivideo-library/terms"},"servers":[{"url":"https://byok-apivideo-library.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-apivideo-library/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_webhooks":{"post":{"operationId":"list_webhooks","summary":"List the webhooks configured in the api.video project with their events and target URLs, optionally for one event. The s","description":"List the webhooks configured in the api.video project with their events and target URLs, optionally for one event. The signing secret is not returned. Use for \"Which webhooks do I have on api.video\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"events":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only webhooks subscribed to this event, for example video.encoding.quality.completed.","title":"Events"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Results per page (1 to 100, default 25).","title":"Page Size"}},"title":"list_webhooksArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_webhook":{"post":{"operationId":"get_webhook","summary":"Get one api.video webhook: events, target URL and creation time (no signing secret). Use for \"What events does api.video","description":"Get one api.video webhook: events, target URL and creation time (no signing secret). Use for \"What events does api.video webhook webhook_XXXXXXXXXXXXXXXX listen to\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"webhook_id":{"description":"The webhook ID, from list_webhooks.","maxLength":200,"title":"Webhook Id","type":"string"}},"required":["webhook_id"],"title":"get_webhookArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_tags":{"post":{"operationId":"list_tags","summary":"List the video tags in use in the api.video project with how many videos use each, searchable by partial value and sorta","description":"List the video tags in use in the api.video project with how many videos use each, searchable by partial value and sortable. Use for \"Which tags are most used on my api.video videos\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"value":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Return only tags matching this text (partial, case and accent insensitive).","title":"Value"},"sort_by":{"anyOf":[{"enum":["value","videoCount"],"type":"string"},{"type":"null"}],"default":null,"description":"Sort field: value (alphabetical, default) or videoCount.","title":"Sort By"},"sort_order":{"anyOf":[{"enum":["asc","desc"],"type":"string"},{"type":"null"}],"default":null,"description":"Sort direction: asc or desc.","title":"Sort Order"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Results per page (1 to 100, default 25).","title":"Page Size"}},"title":"list_tagsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_video_chapters":{"post":{"operationId":"list_video_chapters","summary":"List the chapter tracks of one api.video video with language and the link to each WebVTT chapters file. Use for \"What ch","description":"List the chapter tracks of one api.video video with language and the link to each WebVTT chapters file. Use for \"What chapters does api.video video vi4blUQJFrYWbaG44NChkH27 have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"video_id":{"description":"The video ID (for example vi4blUQJFrYWbaG44NChkH27), from list_videos in the api.video connector.","maxLength":200,"title":"Video Id","type":"string"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Results per page (1 to 100, default 25).","title":"Page Size"}},"required":["video_id"],"title":"list_video_chaptersArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_video_chapter":{"post":{"operationId":"get_video_chapter","summary":"Get the chapter track of one api.video video in one language: the link to the WebVTT chapters file. Use for \"Where is th","description":"Get the chapter track of one api.video video in one language: the link to the WebVTT chapters file. Use for \"Where is the English chapters file of api.video video vi4blUQJFrYWbaG44NChkH27\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"video_id":{"description":"The video ID (for example vi4blUQJFrYWbaG44NChkH27), from list_videos in the api.video connector.","maxLength":200,"title":"Video Id","type":"string"},"language":{"description":"BCP 47 language code of the chapter track, for example en or fr-FR.","maxLength":20,"title":"Language","type":"string"}},"required":["video_id","language"],"title":"get_video_chapterArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_summaries":{"post":{"operationId":"list_summaries","summary":"List AI video summary records (which video, how created, generation status and dates) without the summary text, filtered","description":"List AI video summary records (which video, how created, generation status and dates) without the summary text, filtered by video, origin or status. Use for \"Which api.video videos have a finished summary\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"video_id":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only summaries of this video ID.","title":"Video Id"},"origin":{"anyOf":[{"enum":["auto","api"],"type":"string"},{"type":"null"}],"default":null,"description":"Only summaries created automatically or manually via the API.","title":"Origin"},"source_status":{"anyOf":[{"enum":["missing","waiting","failed","completed","unprocessable"],"type":"string"},{"type":"null"}],"default":null,"description":"Only summaries in this state: missing, waiting, failed, completed or unprocessable.","title":"Source Status"},"sort_by":{"anyOf":[{"enum":["createdAt","updatedAt","videoId"],"type":"string"},{"type":"null"}],"default":null,"description":"Sort field: createdAt, updatedAt or videoId.","title":"Sort By"},"sort_order":{"anyOf":[{"enum":["asc","desc"],"type":"string"},{"type":"null"}],"default":null,"description":"Sort direction: asc or desc.","title":"Sort Order"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Results per page (1 to 100, default 25).","title":"Page Size"}},"title":"list_summariesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_discarded_videos":{"post":{"operationId":"list_discarded_videos","summary":"List videos that were discarded (deleted) in the api.video project with title, tags and dates, filtered by title, tags o","description":"List videos that were discarded (deleted) in the api.video project with title, tags and dates, filtered by title, tags or description. Use for \"Which api.video videos were discarded recently\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"title":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only videos whose title contains this text.","title":"Title"},"description":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only videos whose description matches this text.","title":"Description"},"sort_by":{"anyOf":[{"enum":["title","createdAt","publishedAt","updatedAt"],"type":"string"},{"type":"null"}],"default":null,"description":"Sort field: title, createdAt, publishedAt or updatedAt.","title":"Sort By"},"sort_order":{"anyOf":[{"enum":["asc","desc"],"type":"string"},{"type":"null"}],"default":null,"description":"Sort direction: asc or desc.","title":"Sort Order"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Results per page (1 to 100, default 25).","title":"Page Size"}},"title":"list_discarded_videosArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_discarded_video":{"post":{"operationId":"get_discarded_video","summary":"Get one discarded api.video video by ID: title, description, tags, player and dates. Use for \"Show discarded api.video v","description":"Get one discarded api.video video by ID: title, description, tags, player and dates. Use for \"Show discarded api.video video vi4blUQJFrYWbaG44NChkH27\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"video_id":{"description":"The video ID (for example vi4blUQJFrYWbaG44NChkH27), from list_videos in the api.video connector.","maxLength":200,"title":"Video Id","type":"string"}},"required":["video_id"],"title":"get_discarded_videoArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}