{"openapi":"3.1.0","info":{"title":"Argil (BYOK) API","version":"0.1.0","description":"Argil (BYOK) lets an AI assistant read your own Argil data through the Argil API with a key you supply (Argil API key). Read-only: 9 tools (list_avatars, get_avatar, list_voices, get_voice, list_videos, get_video, list_assets, get_asset, list_subtitle_styles). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is only ever sent to...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-argil.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-argil/docs"},"termsOfService":"https://connectorbay.com/byok-argil/terms"},"servers":[{"url":"https://byok-argil.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-argil/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_avatars":{"post":{"operationId":"list_avatars","summary":"List the AI avatars available to the account with training status, size and orientation. Use for \"Which of my Argil avat","description":"List the AI avatars available to the account with training status, size and orientation. Use for \"Which of my Argil avatars are fully trained\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"orientation":{"anyOf":[{"enum":["ASPECT_RATIO_16_9","ASPECT_RATIO_9_16"],"type":"string"},{"type":"null"}],"default":null,"description":"Only avatars with this orientation.","title":"Orientation"},"model":{"anyOf":[{"enum":["ARGIL_V1","ARGIL_ATOM"],"type":"string"},{"type":"null"}],"default":null,"description":"Only avatars of this model.","title":"Model"},"visibility":{"anyOf":[{"enum":["public","private"],"type":"string"},{"type":"null"}],"default":null,"description":"public for Argil's shared avatars or private for your own.","title":"Visibility"}},"title":"list_avatarsArguments","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_avatar":{"post":{"operationId":"get_avatar","summary":"Get one avatar with its status and the gestures it can perform. Use for \"Show Argil avatar a1b2c3d4-e5f6-4a7b-8c9d-0e1f2","description":"Get one avatar with its status and the gestures it can perform. Use for \"Show Argil avatar a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"avatar_id":{"description":"Avatar id from list_avatars.","maxLength":200,"title":"Avatar Id","type":"string"}},"required":["avatar_id"],"title":"get_avatarArguments","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_voices":{"post":{"operationId":"list_voices","summary":"List the voices available to the account, filtered by language, gender or visibility. Use for \"Which public Argil voices","description":"List the voices available to the account, filtered by language, gender or visibility. Use for \"Which public Argil voices speak French\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"language":{"anyOf":[{"enum":["ENGLISH","SPANISH","FRENCH","PORTUGUESE","GERMAN","RUSSIAN","HINDI","CHINESE","DUTCH","ARABIC","POLISH","BULGARIAN","JAPANESE","ITALIAN"],"type":"string"},{"type":"null"}],"default":null,"description":"Only voices of this language.","title":"Language"},"gender":{"anyOf":[{"enum":["MALE","FEMALE"],"type":"string"},{"type":"null"}],"default":null,"description":"Only voices of this gender.","title":"Gender"},"visibility":{"anyOf":[{"enum":["public","private"],"type":"string"},{"type":"null"}],"default":null,"description":"public for Argil's shared voices or private for your own.","title":"Visibility"}},"title":"list_voicesArguments","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_voice":{"post":{"operationId":"get_voice","summary":"Get one voice with its status and a sample audio link. Use for \"Show Argil voice a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d\".","description":"Get one voice with its status and a sample audio link. Use for \"Show Argil voice a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"voice_id":{"description":"Voice id from list_voices.","maxLength":200,"title":"Voice Id","type":"string"}},"required":["voice_id"],"title":"get_voiceArguments","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_videos":{"post":{"operationId":"list_videos","summary":"List your avatar videos with status, duration and links; filter by name, avatar or voice; paged. Use for \"Which Argil vi","description":"List your avatar videos with status, duration and links; filter by name, avatar or voice; paged. Use for \"Which Argil videos did I render with avatar a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Videos per page (1 to 100).","title":"Limit"},"name_search":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Case-insensitive part of the video name.","title":"Name Search"},"avatar_id":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Only videos made with this avatar.","title":"Avatar Id"},"voice_id":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Only videos made with this voice.","title":"Voice Id"}},"title":"list_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_video":{"post":{"operationId":"get_video","summary":"Get one video: status, duration, video and preview links and its moments (script, avatar and voice per scene). Use for \"","description":"Get one video: status, duration, video and preview links and its moments (script, avatar and voice per scene). Use for \"Is Argil video a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d rendered\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"video_id":{"description":"Video id from list_videos.","maxLength":200,"title":"Video Id","type":"string"}},"required":["video_id"],"title":"get_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}},"/v1/tools/list_assets":{"post":{"operationId":"list_assets","summary":"List the audio, image and video files in the asset library, by type and processing status. Use for \"Which videos are in ","description":"List the audio, image and video files in the asset library, by type and processing status. Use for \"Which videos are in my Argil asset library\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"type":{"anyOf":[{"enum":["AUDIO","IMAGE","VIDEO"],"type":"string"},{"type":"null"}],"default":null,"description":"Only assets of this type.","title":"Type"},"status":{"anyOf":[{"enum":["PROCESSING","READY","FAILED"],"type":"string"},{"type":"null"}],"default":null,"description":"Processing status (default READY).","title":"Status"},"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":20,"description":"Items per page (1 to 100).","title":"Page Size"}},"title":"list_assetsArguments","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_asset":{"post":{"operationId":"get_asset","summary":"Get one library asset with its current processing status. Use for \"Is Argil asset a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d r","description":"Get one library asset with its current processing status. Use for \"Is Argil asset a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d ready\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"asset_id":{"description":"Asset id from list_assets.","maxLength":200,"title":"Asset Id","type":"string"}},"required":["asset_id"],"title":"get_assetArguments","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_subtitle_styles":{"post":{"operationId":"list_subtitle_styles","summary":"List the subtitle styles that can be applied to videos. Use for \"Which subtitle styles does Argil offer\".","description":"List the subtitle styles that can be applied to videos. Use for \"Which subtitle styles does Argil offer\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"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":10,"description":"Items per page (1 to 100).","title":"Page Size"}},"title":"list_subtitle_stylesArguments","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}}}}