{"openapi":"3.1.0","info":{"title":"Biblia (BYOK) API","version":"0.1.0","description":"Biblia (BYOK) lets an AI assistant read your own Biblia data through the Biblia API with a key you supply (Biblia.com API key). Read-only: 7 tools (find_bibles, get_bible, get_passage_text, search_bible, parse_reference, compare_references, scan_text_for_references). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is only ever sent...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-biblia.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-biblia/docs"},"termsOfService":"https://connectorbay.com/byok-biblia/terms"},"servers":[{"url":"https://byok-biblia.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-biblia/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/find_bibles":{"post":{"operationId":"find_bibles","summary":"List the Bible versions available through Biblia, or search them by title, abbreviation or author, with copyright and pu","description":"List the Bible versions available through Biblia, or search them by title, abbreviation or author, with copyright and publisher details. Use for \"Which Bible versions can I read through Biblia\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Words to match against Bible title, abbreviation or author, for example 'lexham'.","title":"Query"},"start":{"anyOf":[{"maximum":10000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Zero-based index of the first entry to return.","title":"Start"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Maximum number of entries to return (1 to 100).","title":"Limit"}},"title":"find_biblesArguments","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_bible":{"post":{"operationId":"get_bible","summary":"Get the details of one Bible version by its id: title, publication date, languages, publishers and copyright. Use for \"T","description":"Get the details of one Bible version by its id: title, publication date, languages, publishers and copyright. Use for \"Tell me about the Lexham English Bible\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"bible":{"description":"Bible id such as 'KJV', 'LEB', 'ASV' or 'YLT' (use find_bibles to list ids).","maxLength":40,"title":"Bible","type":"string"}},"required":["bible"],"title":"get_bibleArguments","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_passage_text":{"post":{"operationId":"get_passage_text","summary":"Read the text of a Bible passage (for example 'John3.16' or 'John 3:16-18') in one Bible version, as plain text or HTML ","description":"Read the text of a Bible passage (for example 'John3.16' or 'John 3:16-18') in one Bible version, as plain text or HTML wrapped in JSON. Use for \"Show John 3:16 in the Lexham English Bible\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"bible":{"description":"Bible id such as 'KJV', 'LEB', 'ASV' or 'YLT' (use find_bibles to list ids).","maxLength":40,"title":"Bible","type":"string"},"output_format":{"description":"Text format: 'txt' or 'html'.","enum":["txt","html"],"title":"Output Format","type":"string"},"passage":{"description":"Bible reference to read, for example 'John3.16' or 'Psalm 23'.","maxLength":100,"title":"Passage","type":"string"},"footnotes":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include footnotes below the text.","title":"Footnotes"},"citation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include a citation below the text.","title":"Citation"},"paragraphs":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":true,"description":"True to keep paragraphs, false for one verse per line.","title":"Paragraphs"}},"required":["bible","output_format","passage"],"title":"get_passage_textArguments","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/search_bible":{"post":{"operationId":"search_bible","summary":"Search the text of a Bible version for a word or phrase and return matching passages with a text preview. Use for \"Find ","description":"Search the text of a Bible version for a word or phrase and return matching passages with a text preview. Use for \"Find verses about bread in the Lexham English Bible\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"bible":{"description":"Bible id such as 'KJV', 'LEB', 'ASV' or 'YLT' (use find_bibles to list ids).","maxLength":40,"title":"Bible","type":"string"},"query":{"description":"Words to find.","maxLength":200,"title":"Query","type":"string"},"mode":{"anyOf":[{"enum":["verse","fuzzy"],"type":"string"},{"type":"null"}],"default":"verse","description":"verse for exact words, fuzzy for approximate matching.","title":"Mode"},"passages":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Limit to these passages, for example 'Matthew-John' (verse mode only).","title":"Passages"},"start":{"anyOf":[{"maximum":10000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Zero-based index of the first result to return.","title":"Start"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Maximum number of results (1 to 100).","title":"Limit"},"sort":{"anyOf":[{"enum":["relevance","passage"],"type":"string"},{"type":"null"}],"default":null,"description":"Order: relevance or passage (verse mode only).","title":"Sort"}},"required":["bible","query"],"title":"search_bibleArguments","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/parse_reference":{"post":{"operationId":"parse_reference","summary":"Parse text such as '2 Kgs 3-4' into canonical Bible passages with book, chapter and verse parts, or render a reference i","description":"Parse text such as '2 Kgs 3-4' into canonical Bible passages with book, chapter and verse parts, or render a reference in short, medium or long form. Use for \"What passages does '2 Kgs 1-2, 4-5' refer to\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"passage":{"description":"Text to parse as one or more Bible references.","maxLength":200,"title":"Passage","type":"string"},"style":{"anyOf":[{"enum":["short","medium","long"],"type":"string"},{"type":"null"}],"default":"long","description":"Rendered form: short, medium or long.","title":"Style"}},"required":["passage"],"title":"parse_referenceArguments","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/compare_references":{"post":{"operationId":"compare_references","summary":"Compare two Bible references and say whether they are equal, overlap or one contains the other. Use for \"Does Genesis 3:","description":"Compare two Bible references and say whether they are equal, overlap or one contains the other. Use for \"Does Genesis 3:4 fall inside Genesis 3:1-10\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"first":{"description":"First Bible reference, for example 'Ge 3:4'.","maxLength":100,"title":"First","type":"string"},"second":{"description":"Second Bible reference, for example 'Ge 3:1-10'.","maxLength":100,"title":"Second","type":"string"}},"required":["first","second"],"title":"compare_referencesArguments","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/scan_text_for_references":{"post":{"operationId":"scan_text_for_references","summary":"Find Bible references inside a piece of text and return each with its position in the text. Use for \"Which Bible verses ","description":"Find Bible references inside a piece of text and return each with its position in the text. Use for \"Which Bible verses are mentioned in 'Look at Gen 1:1 and John 3:16'\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"text":{"description":"Text to scan for Bible references.","maxLength":2000,"title":"Text","type":"string"},"tag_chapters":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":true,"description":"True to also match references to whole chapters.","title":"Tag Chapters"}},"required":["text"],"title":"scan_text_for_referencesArguments","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}}}}