{"openapi":"3.1.0","info":{"title":"TextRazor (BYOK) API","version":"0.1.0","description":"TextRazor (BYOK) lets an AI assistant read your own TextRazor data through the TextRazor API with a key you supply (TextRazor API key). Read-only: 7 tools (get_account, list_entity_dictionaries, get_entity_dictionary, list_dictionary_entries, get_dictionary_entry, list_classifier_categories, get_classifier_category). The BYOK key travels with each request, is used for that one call only and is...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-textrazor.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-textrazor/docs"},"termsOfService":"https://connectorbay.com/byok-textrazor/terms"},"servers":[{"url":"https://byok-textrazor.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-textrazor/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/get_account":{"post":{"operationId":"get_account","summary":"Show your TextRazor plan, daily included requests, requests used today and the concurrent request limit. Use for \"How ma","description":"Show your TextRazor plan, daily included requests, requests used today and the concurrent request limit. Use for \"How many TextRazor requests have I used today\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_accountArguments","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_entity_dictionaries":{"post":{"operationId":"list_entity_dictionaries","summary":"List the custom entity dictionaries in your account (id, match type, case sensitivity and language). Use for \"Which cust","description":"List the custom entity dictionaries in your account (id, match type, case sensitivity and language). Use for \"Which custom entity dictionaries do I have in TextRazor\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_entity_dictionariesArguments","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_entity_dictionary":{"post":{"operationId":"get_entity_dictionary","summary":"Get one custom entity dictionary's settings by id. Use for \"What are the settings of my TextRazor dictionary test_ents\".","description":"Get one custom entity dictionary's settings by id. Use for \"What are the settings of my TextRazor dictionary test_ents\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"dictionary_id":{"description":"Id of one of your entity dictionaries, for example 'test_ents'.","maxLength":200,"title":"Dictionary Id","type":"string"}},"required":["dictionary_id"],"title":"get_entity_dictionaryArguments","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_dictionary_entries":{"post":{"operationId":"list_dictionary_entries","summary":"List the entries of a custom entity dictionary with paging information. Use limit and offset to page. Use for \"Show the ","description":"List the entries of a custom entity dictionary with paging information. Use limit and offset to page. Use for \"Show the first 20 entries of my TextRazor dictionary test_ents\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"dictionary_id":{"description":"Id of one of your entity dictionaries, for example 'test_ents'.","maxLength":200,"title":"Dictionary Id","type":"string"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many entries to return per page.","title":"Limit"},"offset":{"anyOf":[{"maximum":1000000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"How many entries to skip before the first one returned.","title":"Offset"}},"required":["dictionary_id"],"title":"list_dictionary_entriesArguments","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_dictionary_entry":{"post":{"operationId":"get_dictionary_entry","summary":"Get one entry of a custom entity dictionary by its entry id. Use for \"Show entry DEV2 of my TextRazor dictionary test_en","description":"Get one entry of a custom entity dictionary by its entry id. Use for \"Show entry DEV2 of my TextRazor dictionary test_ents\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"dictionary_id":{"description":"Id of one of your entity dictionaries, for example 'test_ents'.","maxLength":200,"title":"Dictionary Id","type":"string"},"entity_id":{"description":"Id of the dictionary entry, for example 'DEV2'.","maxLength":200,"title":"Entity Id","type":"string"}},"required":["dictionary_id","entity_id"],"title":"get_dictionary_entryArguments","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_classifier_categories":{"post":{"operationId":"list_classifier_categories","summary":"List the categories of one of your custom classifiers with paging information. Use limit and offset to page. Use for \"Wh","description":"List the categories of one of your custom classifiers with paging information. Use limit and offset to page. Use for \"Which categories are in my TextRazor classifier sport\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"classifier_id":{"description":"Id of one of your custom classifiers, for example 'sport'.","maxLength":200,"title":"Classifier Id","type":"string"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many entries to return per page.","title":"Limit"},"offset":{"anyOf":[{"maximum":1000000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"How many entries to skip before the first one returned.","title":"Offset"}},"required":["classifier_id"],"title":"list_classifier_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/get_classifier_category":{"post":{"operationId":"get_classifier_category","summary":"Get one category of a custom classifier by id: its label and concept query. Use for \"What is the query for category 101 ","description":"Get one category of a custom classifier by id: its label and concept query. Use for \"What is the query for category 101 in my TextRazor classifier sport\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"classifier_id":{"description":"Id of one of your custom classifiers, for example 'sport'.","maxLength":200,"title":"Classifier Id","type":"string"},"category_id":{"description":"Id of the category inside the classifier, for example '101'.","maxLength":200,"title":"Category Id","type":"string"}},"required":["classifier_id","category_id"],"title":"get_classifier_categoryArguments","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}}}}