{"openapi":"3.1.0","info":{"title":"Yapily (BYOK) API","version":"0.1.0","description":"Yapily (BYOK) lets an AI assistant read your own Yapily data through the Yapily API with a key you supply (Yapily application ID). Read-only: 8 tools (list_institutions, get_institution, list_consents, list_users, get_application, list_event_subscriptions, list_webhook_categories, list_enrichment_labels). The BYOK key travels with each request, is used for that one call only and is never stored,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-yapily.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-yapily/docs"},"termsOfService":"https://connectorbay.com/byok-yapily/terms"},"servers":[{"url":"https://byok-yapily.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-yapily/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_institutions":{"post":{"operationId":"list_institutions","summary":"List the banks (institutions) available to your application with their ID, name, countries, environment type, credential","description":"List the banks (institutions) available to your application with their ID, name, countries, environment type, credentials type and supported features. Use for \"Which banks can my Yapily application connect to in Spain\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_institutionsArguments","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_institution":{"post":{"operationId":"get_institution","summary":"Get one Yapily institution by ID with its name, countries, environment type, credentials type and supported features. Us","description":"Get one Yapily institution by ID with its name, countries, environment type, credentials type and supported features. Use for \"Which features does the bank modelo-sandbox support in Yapily\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"institution_id":{"description":"Yapily institution ID, for example modelo-sandbox (from list_institutions).","maxLength":200,"title":"Institution Id","type":"string"}},"required":["institution_id"],"title":"get_institutionArguments","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_consents":{"post":{"operationId":"list_consents","summary":"List the bank consents your application holds with status, institution, creation, authorisation and expiry dates and fea","description":"List the bank consents your application holds with status, institution, creation, authorisation and expiry dates and feature scope (consent tokens are left out). Give a user filter or a limit. Use for \"Which of my Yapily consents are about to expire\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"application_user_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only consents of this application user ID (your own ID for the end user).","title":"Application User Id"},"user_uuid":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"default":null,"description":"Only consents of this Yapily user UUID.","title":"User Uuid"},"institution":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only consents for this institution ID.","title":"Institution"},"status":{"anyOf":[{"enum":["AWAITING_AUTHORIZATION","AWAITING_FURTHER_AUTHORIZATION","AWAITING_RE_AUTHORIZATION","AUTHORIZED","REJECTED","REVOKED","FAILED","EXPIRED","UNKNOWN","INVALID","AWAITING_PRE_AUTHORIZATION","PRE_AUTHORIZED","CONSUMED"],"type":"string"},{"type":"null"}],"default":null,"description":"Only consents in this status.","title":"Status"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"Maximum number of consents to return (1 to 1000). Needed if no user filter is given.","title":"Limit"},"offset":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of consents to skip, for paging.","title":"Offset"}},"title":"list_consentsArguments","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_users":{"post":{"operationId":"list_users","summary":"List the application users (end users) created in your Yapily application with their UUID, your own user ID, creation da","description":"List the application users (end users) created in your Yapily application with their UUID, your own user ID, creation date and the institutions they have consented to. Use for \"How many end users does my Yapily application have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"application_user_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only users with this application user ID.","title":"Application User Id"}},"title":"list_usersArguments","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_application":{"post":{"operationId":"get_application","summary":"Get details of one Yapily application by ID: name, root application, merchant category code and contract status. Use for","description":"Get details of one Yapily application by ID: name, root application, merchant category code and contract status. Use for \"What is the merchant category code of my Yapily application\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"application_id":{"description":"Yapily application ID (the application ID used as the key).","maxLength":200,"title":"Application Id","type":"string"}},"required":["application_id"],"title":"get_applicationArguments","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_event_subscriptions":{"post":{"operationId":"list_event_subscriptions","summary":"List the event types your Yapily application is subscribed to for notifications. Use for \"Which Yapily events is my appl","description":"List the event types your Yapily application is subscribed to for notifications. Use for \"Which Yapily events is my application subscribed to\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_event_subscriptionsArguments","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_webhook_categories":{"post":{"operationId":"list_webhook_categories","summary":"List the event categories that can be registered for Yapily webhook notifications, with descriptions. Use for \"Which web","description":"List the event categories that can be registered for Yapily webhook notifications, with descriptions. Use for \"Which webhook events can I register with Yapily\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_webhook_categoriesArguments","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_enrichment_labels":{"post":{"operationId":"list_enrichment_labels","summary":"List the transaction categories Yapily Data Plus can assign for consumer or business accounts. Use for \"Which transactio","description":"List the transaction categories Yapily Data Plus can assign for consumer or business accounts. Use for \"Which transaction categories does Yapily enrichment use for business accounts\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_type":{"description":"Account type: consumer or business.","maxLength":200,"title":"Account Type","type":"string"}},"required":["account_type"],"title":"list_enrichment_labelsArguments","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}}}}