{"openapi":"3.1.0","info":{"title":"Rebrandly Plans (BYOK) API","version":"0.1.0","description":"Rebrandly Plans (BYOK) lets an AI assistant read your own Rebrandly Plans data through the Rebrandly Plans API with a key you supply (Rebrandly API key). Read-only: 7 tools (list_plans, get_plan, get_plan_features, list_addons, list_features, get_subscription_history, get_revoked_entitlements). The BYOK key travels with each request, is used for that one call only and is never stored, logged or...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-rebrandly-plans.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-rebrandly-plans/docs"},"termsOfService":"https://connectorbay.com/byok-rebrandly-plans/terms"},"servers":[{"url":"https://byok-rebrandly-plans.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-rebrandly-plans/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_plans":{"post":{"operationId":"list_plans","summary":"List Rebrandly subscription plans with name, description, price and the features each includes. Pages of up to 25; pass ","description":"List Rebrandly subscription plans with name, description, price and the features each includes. Pages of up to 25; pass the last plan id as last. Use for \"Which Rebrandly plans exist and what do they cost\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"limit":{"anyOf":[{"maximum":25,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many items to return (1 to 25, default 25).","title":"Limit"},"last":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"ID of the last item of the previous answer, to get the next page.","title":"Last"},"is_standard":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True for only standard plans, false for the others.","title":"Is Standard"}},"title":"list_plansArguments","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_plan":{"post":{"operationId":"get_plan","summary":"Get one plan with its price and included features. Use for \"What does the Rebrandly plan with this ID include\".","description":"Get one plan with its price and included features. Use for \"What does the Rebrandly plan with this ID include\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"plan_id":{"description":"Plan ID (from list_plans).","maxLength":64,"title":"Plan Id","type":"string"}},"required":["plan_id"],"title":"get_planArguments","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_plan_features":{"post":{"operationId":"get_plan_features","summary":"List the features of a plan with each feature id and its configuration (limits). Use for \"Which limits does this Rebrand","description":"List the features of a plan with each feature id and its configuration (limits). Use for \"Which limits does this Rebrandly plan have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"plan_id":{"description":"Plan ID (from list_plans).","maxLength":64,"title":"Plan Id","type":"string"}},"required":["plan_id"],"title":"get_plan_featuresArguments","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_addons":{"post":{"operationId":"list_addons","summary":"List the add-ons that can be bought on top of a plan with their resource, lifecycle, features, block size and deals. Use","description":"List the add-ons that can be bought on top of a plan with their resource, lifecycle, features, block size and deals. Use for \"Which Rebrandly add-ons are available\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"standard":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True for only standard add-ons.","title":"Standard"}},"title":"list_addonsArguments","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_features":{"post":{"operationId":"list_features","summary":"List all Rebrandly feature definitions with id, name, description and default configuration. Use for \"Which features doe","description":"List all Rebrandly feature definitions with id, name, description and default configuration. Use for \"Which features does Rebrandly have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_featuresArguments","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_subscription_history":{"post":{"operationId":"get_subscription_history","summary":"Show the plan history of your account: plan name with start and end date of each period. Use for \"Which Rebrandly plans ","description":"Show the plan history of your account: plan name with start and end date of each period. Use for \"Which Rebrandly plans has my account been on\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_subscription_historyArguments","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_revoked_entitlements":{"post":{"operationId":"get_revoked_entitlements","summary":"List workspaces, domains and features that were revoked because of plan limits. Use for \"Did my Rebrandly plan change re","description":"List workspaces, domains and features that were revoked because of plan limits. Use for \"Did my Rebrandly plan change revoke any domains or workspaces\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_revoked_entitlementsArguments","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}}}}