{"openapi":"3.1.0","info":{"title":"PartnerStack (BYOK) API","version":"0.1.0","description":"PartnerStack (BYOK) lets an AI assistant read your own PartnerStack data through the PartnerStack API with a key you supply (PartnerStack public key (vendor API)). Read-only: 11 tools (list_partnerships, get_partnership, list_customers, list_transactions, list_rewards, list_actions, list_leads, list_deals, list_groups, list_applications, list_partnership_links). The BYOK key travels with each...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-partnerstack.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-partnerstack/docs"},"termsOfService":"https://connectorbay.com/byok-partnerstack/terms"},"servers":[{"url":"https://byok-partnerstack.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-partnerstack/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_partnerships":{"post":{"operationId":"list_partnerships","summary":"List the partners in your program, newest first, filtered by approval status, group, email or dates; each entry shows th","description":"List the partners in your program, newest first, filtered by approval status, group, email or dates; each entry shows the partner, group and status. Use for \"Which partners joined my PartnerStack program recently\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"approved_status":{"anyOf":[{"enum":["approved","pending","declined"],"type":"string"},{"type":"null"}],"default":null,"description":"Only partnerships with this status.","title":"Approved Status"},"group":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only partnerships in the group with this name, written without spaces or special characters.","title":"Group"},"email":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Only the partnership of the user with this email.","title":"Email"},"order_by":{"anyOf":[{"enum":["-created_at","created_at","-updated_at","updated_at"],"type":"string"},{"type":"null"}],"default":"-created_at","description":"Sort order; a leading minus means descending.","title":"Order By"},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include archived partnerships.","title":"Include Archived"},"min_created":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items created at or after this time, as epoch milliseconds, for example 1759276800000.","title":"Min Created"},"max_created":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items created at or before this time, as epoch milliseconds.","title":"Max Created"},"min_updated":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items updated at or after this time, as epoch milliseconds.","title":"Min Updated"},"max_updated":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items updated at or before this time, as epoch milliseconds.","title":"Max Updated"},"limit":{"anyOf":[{"maximum":25,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 25).","title":"Limit"},"starting_after":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the key of the last item of the previous page, to get the next page.","title":"Starting After"}},"title":"list_partnershipsArguments","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_partnership":{"post":{"operationId":"get_partnership","summary":"Get one partnership by its partnership key, with partner details, group, tags and status. Use for \"Show the details of P","description":"Get one partnership by its partnership key, with partner details, group, tags and status. Use for \"Show the details of PartnerStack partnership co_a80cb515fe\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"unique_identifier":{"description":"Partnership key or partner key of the partnership, from list_partnerships.","maxLength":200,"title":"Unique Identifier","type":"string"}},"required":["unique_identifier"],"title":"get_partnershipArguments","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_customers":{"post":{"operationId":"list_customers","summary":"List customers your partners referred, newest first, optionally for one partner or partnership, with the partner each be","description":"List customers your partners referred, newest first, optionally for one partner or partnership, with the partner each belongs to. Use for \"Which customers did partner pp_1234 refer\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"partner_key":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Only items of the partner with this partner key.","title":"Partner Key"},"partnership_key":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Only customers of the partnership with this key.","title":"Partnership Key"},"group":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only partnerships in the group with this name, written without spaces or special characters.","title":"Group"},"min_created":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items created at or after this time, as epoch milliseconds, for example 1759276800000.","title":"Min Created"},"max_created":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items created at or before this time, as epoch milliseconds.","title":"Max Created"},"min_updated":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items updated at or after this time, as epoch milliseconds.","title":"Min Updated"},"max_updated":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items updated at or before this time, as epoch milliseconds.","title":"Max Updated"},"limit":{"anyOf":[{"maximum":25,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 25).","title":"Limit"},"starting_after":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the key of the last item of the previous page, to get the next page.","title":"Starting After"}},"title":"list_customersArguments","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_transactions":{"post":{"operationId":"list_transactions","summary":"List the revenue transactions recorded for referred customers with amount in cents, currency and customer, newest first.","description":"List the revenue transactions recorded for referred customers with amount in cents, currency and customer, newest first. Use for \"What transactions were recorded for customer cus_abc123\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"customer_key":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Only transactions of the customer with this PartnerStack customer key.","title":"Customer Key"},"customer_email":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Only transactions of the customer with this email.","title":"Customer Email"},"product_key":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Only transactions for this product key.","title":"Product Key"},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include archived transactions.","title":"Include Archived"},"limit":{"anyOf":[{"maximum":25,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 25).","title":"Limit"},"starting_after":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the key of the last item of the previous page, to get the next page.","title":"Starting After"}},"title":"list_transactionsArguments","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_rewards":{"post":{"operationId":"list_rewards","summary":"List partner rewards (commissions) with amount, status, partner and customer, by status, partner, group or creation date","description":"List partner rewards (commissions) with amount, status, partner and customer, by status, partner, group or creation date. Use for \"What rewards are pending for PartnerStack partner co_a80cb515fe\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"partnership_key":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Only rewards of the partnership with this key.","title":"Partnership Key"},"status":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only rewards with this status, for example pending, approved or declined.","title":"Status"},"group_key":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Only rewards of partners in the group with this key.","title":"Group Key"},"order_by":{"anyOf":[{"enum":["-created_at","created_at","-amount","amount","-ready_at","ready_at"],"type":"string"},{"type":"null"}],"default":"-created_at","description":"Sort order; a leading minus means descending.","title":"Order By"},"hide_archived_rewards":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to hide archived rewards.","title":"Hide Archived Rewards"},"min_created":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items created at or after this time, as epoch milliseconds, for example 1759276800000.","title":"Min Created"},"max_created":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items created at or before this time, as epoch milliseconds.","title":"Max Created"},"limit":{"anyOf":[{"maximum":25,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 25).","title":"Limit"},"starting_after":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the key of the last item of the previous page, to get the next page.","title":"Starting After"}},"title":"list_rewardsArguments","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_actions":{"post":{"operationId":"list_actions","summary":"List recorded partner actions such as sign-ups or trials, with the partnership and customer involved, newest first. Use ","description":"List recorded partner actions such as sign-ups or trials, with the partnership and customer involved, newest first. Use for \"Which partner actions were recorded this month\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"partnership_key":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Only actions of the partnership with this key.","title":"Partnership Key"},"customer_key":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Only actions of the customer with this key.","title":"Customer Key"},"action_type":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only actions with this action name.","title":"Action Type"},"order_by":{"anyOf":[{"enum":["-created_at","created_at","-updated_at","updated_at"],"type":"string"},{"type":"null"}],"default":"-created_at","description":"Sort order; a leading minus means descending.","title":"Order By"},"min_created":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items created at or after this time, as epoch milliseconds, for example 1759276800000.","title":"Min Created"},"max_created":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items created at or before this time, as epoch milliseconds.","title":"Max Created"},"limit":{"anyOf":[{"maximum":25,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 25).","title":"Limit"},"starting_after":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the key of the last item of the previous page, to get the next page.","title":"Starting After"}},"title":"list_actionsArguments","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_leads":{"post":{"operationId":"list_leads","summary":"List leads partners submitted to your program with lead details and partner, newest first. Use for \"Which leads did part","description":"List leads partners submitted to your program with lead details and partner, newest first. Use for \"Which leads did partners submit to PartnerStack lately\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"partner_key":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Only items of the partner with this partner key.","title":"Partner Key"},"group":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only partnerships in the group with this name, written without spaces or special characters.","title":"Group"},"min_created":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items created at or after this time, as epoch milliseconds, for example 1759276800000.","title":"Min Created"},"max_created":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items created at or before this time, as epoch milliseconds.","title":"Max Created"},"min_updated":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items updated at or after this time, as epoch milliseconds.","title":"Min Updated"},"max_updated":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items updated at or before this time, as epoch milliseconds.","title":"Max Updated"},"limit":{"anyOf":[{"maximum":25,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 25).","title":"Limit"},"starting_after":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the key of the last item of the previous page, to get the next page.","title":"Starting After"}},"title":"list_leadsArguments","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_deals":{"post":{"operationId":"list_deals","summary":"List deals registered by partners with stage and partner details, newest first. Use for \"Which PartnerStack deals were r","description":"List deals registered by partners with stage and partner details, newest first. Use for \"Which PartnerStack deals were registered by partner pp_1234\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"partner_key":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Only items of the partner with this partner key.","title":"Partner Key"},"group":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only partnerships in the group with this name, written without spaces or special characters.","title":"Group"},"min_created":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items created at or after this time, as epoch milliseconds, for example 1759276800000.","title":"Min Created"},"max_created":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items created at or before this time, as epoch milliseconds.","title":"Max Created"},"min_updated":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items updated at or after this time, as epoch milliseconds.","title":"Min Updated"},"max_updated":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items updated at or before this time, as epoch milliseconds.","title":"Max Updated"},"limit":{"anyOf":[{"maximum":25,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 25).","title":"Limit"},"starting_after":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the key of the last item of the previous page, to get the next page.","title":"Starting After"}},"title":"list_dealsArguments","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_groups":{"post":{"operationId":"list_groups","summary":"List your partner groups (the segments with their own rewards and rules). Use for \"What partner groups exist in my Partn","description":"List your partner groups (the segments with their own rewards and rules). Use for \"What partner groups exist in my PartnerStack program\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"min_created":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items created at or after this time, as epoch milliseconds, for example 1759276800000.","title":"Min Created"},"max_created":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items created at or before this time, as epoch milliseconds.","title":"Max Created"},"min_updated":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items updated at or after this time, as epoch milliseconds.","title":"Min Updated"},"max_updated":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items updated at or before this time, as epoch milliseconds.","title":"Max Updated"},"limit":{"anyOf":[{"maximum":25,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 25).","title":"Limit"},"starting_after":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the key of the last item of the previous page, to get the next page.","title":"Starting After"}},"title":"list_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_applications":{"post":{"operationId":"list_applications","summary":"List applications to join your program by status (pending, approved, declined, flagged), applicant email or date. Use fo","description":"List applications to join your program by status (pending, approved, declined, flagged), applicant email or date. Use for \"Which PartnerStack applications are still pending\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"status":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated statuses to include: pending, approved, declined, flagged.","title":"Status"},"email":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Applicant email, case-insensitive substring match.","title":"Email"},"order_by":{"anyOf":[{"enum":["-created_at","created_at"],"type":"string"},{"type":"null"}],"default":"-created_at","description":"Sort order; a leading minus means descending.","title":"Order By"},"min_created":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items created at or after this time, as epoch milliseconds, for example 1759276800000.","title":"Min Created"},"max_created":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Only items created at or before this time, as epoch milliseconds.","title":"Max Created"},"limit":{"anyOf":[{"maximum":25,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 25).","title":"Limit"},"starting_after":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the key of the last item of the previous page, to get the next page.","title":"Starting After"}},"title":"list_applicationsArguments","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_partnership_links":{"post":{"operationId":"list_partnership_links","summary":"List the referral links of one partnership. Use for \"What referral links does PartnerStack partnership co_a80cb515fe hav","description":"List the referral links of one partnership. Use for \"What referral links does PartnerStack partnership co_a80cb515fe have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"identifier":{"description":"Partner email, partnership key or partner key.","maxLength":200,"title":"Identifier","type":"string"},"limit":{"anyOf":[{"maximum":25,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 25).","title":"Limit"},"starting_after":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the key of the last item of the previous page, to get the next page.","title":"Starting After"}},"required":["identifier"],"title":"list_partnership_linksArguments","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}}}}