{"openapi":"3.1.0","info":{"title":"Metorial Integrations (BYOK) API","version":"0.1.0","description":"Metorial Integrations (BYOK) lets an AI assistant read your own Metorial Integrations data through the Metorial Integrations API with a key you supply (Metorial secret API key). Read-only: 8 tools (list_integrations, get_integration, list_skills, get_skill, list_skill_groups, list_skill_marketplaces, list_skill_plugins, list_provider_triggers). The BYOK key travels with each request, is used for...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-metorial-integrations.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-metorial-integrations/docs"},"termsOfService":"https://connectorbay.com/byok-metorial-integrations/terms"},"servers":[{"url":"https://byok-metorial-integrations.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-metorial-integrations/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_integrations":{"post":{"operationId":"list_integrations","summary":"List your Metorial integrations (a provider plus its auth and tool-filter policy) with status and configuration flags. U","description":"List your Metorial integrations (a provider plus its auth and tool-filter policy) with status and configuration flags. Use for \"Which integrations are set up in my Metorial project\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Free-text search over names.","title":"Search"},"status":{"anyOf":[{"enum":["active","archived","deleted"],"type":"string"},{"type":"null"}],"default":null,"description":"Only items with this status.","title":"Status"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the id of the last item of the previous page; leave empty for the first page.","title":"After"},"order":{"anyOf":[{"enum":["asc","desc"],"type":"string"},{"type":"null"}],"default":"desc","description":"Sort order by creation time.","title":"Order"}},"title":"list_integrationsArguments","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_integration":{"post":{"operationId":"get_integration","summary":"Get one integration by id with status and configuration flags. Use for \"Show Metorial integration int_1\".","description":"Get one integration by id with status and configuration flags. Use for \"Show Metorial integration int_1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"integration_id":{"description":"Integration id from list_integrations.","maxLength":200,"title":"Integration Id","type":"string"}},"required":["integration_id"],"title":"get_integrationArguments","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_skills":{"post":{"operationId":"list_skills","summary":"List agent skills in your Metorial project with name, license, compatibility and status (no skill content or creator det","description":"List agent skills in your Metorial project with name, license, compatibility and status (no skill content or creator details). Use for \"What skills exist in my Metorial project\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Free-text search over names.","title":"Search"},"status":{"anyOf":[{"enum":["active","archived","deleted"],"type":"string"},{"type":"null"}],"default":null,"description":"Only items with this status.","title":"Status"},"skill_group_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only skills in this skill group id.","title":"Skill Group Id"},"integration_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only skills of this integration id.","title":"Integration Id"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the id of the last item of the previous page; leave empty for the first page.","title":"After"},"order":{"anyOf":[{"enum":["asc","desc"],"type":"string"},{"type":"null"}],"default":"desc","description":"Sort order by creation time.","title":"Order"}},"title":"list_skillsArguments","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_skill":{"post":{"operationId":"get_skill","summary":"Get one skill by id with name, license, compatibility and status (no skill content or creator details). Use for \"Show Me","description":"Get one skill by id with name, license, compatibility and status (no skill content or creator details). Use for \"Show Metorial skill skl_1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"skill_id":{"description":"Skill id from list_skills.","maxLength":200,"title":"Skill Id","type":"string"}},"required":["skill_id"],"title":"get_skillArguments","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_skill_groups":{"post":{"operationId":"list_skill_groups","summary":"List skill groups with name, status and whether consumers can assign skills themselves. Use for \"Which skill groups does","description":"List skill groups with name, status and whether consumers can assign skills themselves. Use for \"Which skill groups does my Metorial project have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Free-text search over names.","title":"Search"},"status":{"anyOf":[{"enum":["active","archived","deleted"],"type":"string"},{"type":"null"}],"default":null,"description":"Only items with this status.","title":"Status"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the id of the last item of the previous page; leave empty for the first page.","title":"After"},"order":{"anyOf":[{"enum":["asc","desc"],"type":"string"},{"type":"null"}],"default":"desc","description":"Sort order by creation time.","title":"Order"}},"title":"list_skill_groupsArguments","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_skill_marketplaces":{"post":{"operationId":"list_skill_marketplaces","summary":"List skill marketplaces with sync status and repository access mode. Use for \"Are my Metorial skill marketplaces synced\"","description":"List skill marketplaces with sync status and repository access mode. Use for \"Are my Metorial skill marketplaces synced\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Free-text search over names.","title":"Search"},"status":{"anyOf":[{"enum":["active","archived","deleted"],"type":"string"},{"type":"null"}],"default":null,"description":"Only items with this status.","title":"Status"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the id of the last item of the previous page; leave empty for the first page.","title":"After"},"order":{"anyOf":[{"enum":["asc","desc"],"type":"string"},{"type":"null"}],"default":"desc","description":"Sort order by creation time.","title":"Order"}},"title":"list_skill_marketplacesArguments","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_skill_plugins":{"post":{"operationId":"list_skill_plugins","summary":"List skill plugins (bundles of skills) with category, status and sync status, optionally for one marketplace. Use for \"W","description":"List skill plugins (bundles of skills) with category, status and sync status, optionally for one marketplace. Use for \"Which skill plugins are available in Metorial\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Free-text search over names.","title":"Search"},"status":{"anyOf":[{"enum":["active","archived","deleted"],"type":"string"},{"type":"null"}],"default":null,"description":"Only items with this status.","title":"Status"},"category":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only plugins in this category.","title":"Category"},"skill_marketplace_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only plugins of this marketplace id.","title":"Skill Marketplace Id"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the id of the last item of the previous page; leave empty for the first page.","title":"After"},"order":{"anyOf":[{"enum":["asc","desc"],"type":"string"},{"type":"null"}],"default":"desc","description":"Sort order by creation time.","title":"Order"}},"title":"list_skill_pluginsArguments","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_provider_triggers":{"post":{"operationId":"list_provider_triggers","summary":"List the event triggers (polling or webhook) a provider version supports, without input or output schemas. Use for \"Whic","description":"List the event triggers (polling or webhook) a provider version supports, without input or output schemas. Use for \"Which triggers does Metorial provider version pvr_1 support\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"provider_version_id":{"description":"Provider version id (see the metorial-providers connector).","maxLength":100,"title":"Provider Version Id","type":"string"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the id of the last item of the previous page; leave empty for the first page.","title":"After"},"order":{"anyOf":[{"enum":["asc","desc"],"type":"string"},{"type":"null"}],"default":"desc","description":"Sort order by creation time.","title":"Order"}},"required":["provider_version_id"],"title":"list_provider_triggersArguments","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}}}}