{"openapi":"3.1.0","info":{"title":"API Bible (BYOK) API","version":"0.1.0","description":"API Bible (BYOK) lets an AI assistant read your own API Bible data through the API Bible API with a key you supply (API.Bible API key). Read-only: 10 tools (list_bibles, get_bible, list_books, get_book, list_chapters, get_chapter, list_verses, get_verse, get_passage, search_bible). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-apibible.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-apibible/docs"},"termsOfService":"https://connectorbay.com/byok-apibible/terms"},"servers":[{"url":"https://byok-apibible.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-apibible/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_bibles":{"post":{"operationId":"list_bibles","summary":"List the Bible versions your key can read (public-domain and Creative Commons ones, plus any licensed to your plan), wit","description":"List the Bible versions your key can read (public-domain and Creative Commons ones, plus any licensed to your plan), with language and abbreviation. Use for \"Which English Bible versions are available\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"language":{"anyOf":[{"maxLength":3,"type":"string"},{"type":"null"}],"default":null,"description":"ISO 639-3 language code to filter by, for example 'eng' or 'spa'.","title":"Language"},"name":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Search by Bible name, for example 'King James'.","title":"Name"},"abbreviation":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Search by abbreviation, for example 'KJV'.","title":"Abbreviation"}},"title":"list_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 one Bible version: names, language, countries, description and copyright. Use for \"Give me details and copyright for","description":"Get one Bible version: names, language, countries, description and copyright. Use for \"Give me details and copyright for the KJV Bible\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"bible_id":{"description":"Bible id from list_bibles, a 16-character id plus a number, for example '78a9f6124f344018-01'.","maxLength":200,"title":"Bible Id","type":"string"}},"required":["bible_id"],"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/list_books":{"post":{"operationId":"list_books","summary":"List the books of a Bible version with their ids (for example GEN, JHN), optionally with chapter ids. Use for \"What book","description":"List the books of a Bible version with their ids (for example GEN, JHN), optionally with chapter ids. Use for \"What books are in this Bible\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"bible_id":{"description":"Bible id from list_bibles, a 16-character id plus a number, for example '78a9f6124f344018-01'.","maxLength":200,"title":"Bible Id","type":"string"},"include_chapters":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include each book's chapter ids and numbers (larger answer).","title":"Include Chapters"}},"required":["bible_id"],"title":"list_booksArguments","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_book":{"post":{"operationId":"get_book","summary":"Get one book of a Bible version by book id such as 'GEN' or 'JHN'. Use for \"Show the book of John in this Bible\".","description":"Get one book of a Bible version by book id such as 'GEN' or 'JHN'. Use for \"Show the book of John in this Bible\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"bible_id":{"description":"Bible id from list_bibles, a 16-character id plus a number, for example '78a9f6124f344018-01'.","maxLength":200,"title":"Bible Id","type":"string"},"book_id":{"description":"Book id from list_books, for example 'JHN'.","maxLength":200,"title":"Book Id","type":"string"},"include_chapters":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include the book's chapters.","title":"Include Chapters"}},"required":["bible_id","book_id"],"title":"get_bookArguments","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_chapters":{"post":{"operationId":"list_chapters","summary":"List the chapters of one book with their ids (for example JHN.3). Use for \"How many chapters does John have\".","description":"List the chapters of one book with their ids (for example JHN.3). Use for \"How many chapters does John have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"bible_id":{"description":"Bible id from list_bibles, a 16-character id plus a number, for example '78a9f6124f344018-01'.","maxLength":200,"title":"Bible Id","type":"string"},"book_id":{"description":"Book id from list_books, for example 'JHN'.","maxLength":200,"title":"Book Id","type":"string"}},"required":["bible_id","book_id"],"title":"list_chaptersArguments","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_chapter":{"post":{"operationId":"get_chapter","summary":"Read a whole chapter's text by chapter id such as 'JHN.3'. Use for \"Read John chapter 3\".","description":"Read a whole chapter's text by chapter id such as 'JHN.3'. Use for \"Read John chapter 3\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"bible_id":{"description":"Bible id from list_bibles, a 16-character id plus a number, for example '78a9f6124f344018-01'.","maxLength":200,"title":"Bible Id","type":"string"},"chapter_id":{"description":"Chapter id from list_chapters, for example 'JHN.3'.","maxLength":200,"title":"Chapter Id","type":"string"},"content_type":{"anyOf":[{"enum":["text","html","json"],"type":"string"},{"type":"null"}],"default":"text","description":"Format of the scripture text: text, html or json.","title":"Content Type"},"include_verse_numbers":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":true,"description":"True to keep verse numbers in the text.","title":"Include Verse Numbers"},"include_titles":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":true,"description":"True to keep section titles in the text.","title":"Include Titles"},"include_notes":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include footnotes in the text.","title":"Include Notes"}},"required":["bible_id","chapter_id"],"title":"get_chapterArguments","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_verses":{"post":{"operationId":"list_verses","summary":"List the verse ids and references of one chapter (no text; use get_verse or get_passage for text). Use for \"Which verses","description":"List the verse ids and references of one chapter (no text; use get_verse or get_passage for text). Use for \"Which verses are in John 3\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"bible_id":{"description":"Bible id from list_bibles, a 16-character id plus a number, for example '78a9f6124f344018-01'.","maxLength":200,"title":"Bible Id","type":"string"},"chapter_id":{"description":"Chapter id from list_chapters, for example 'JHN.3'.","maxLength":200,"title":"Chapter Id","type":"string"}},"required":["bible_id","chapter_id"],"title":"list_versesArguments","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_verse":{"post":{"operationId":"get_verse","summary":"Read one verse by verse id such as 'JHN.3.16'. Use for \"What does John 3:16 say\".","description":"Read one verse by verse id such as 'JHN.3.16'. Use for \"What does John 3:16 say\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"bible_id":{"description":"Bible id from list_bibles, a 16-character id plus a number, for example '78a9f6124f344018-01'.","maxLength":200,"title":"Bible Id","type":"string"},"verse_id":{"description":"Verse id: book id, chapter and verse joined with dots, for example 'JHN.3.16'.","maxLength":200,"title":"Verse Id","type":"string"},"content_type":{"anyOf":[{"enum":["text","html","json"],"type":"string"},{"type":"null"}],"default":"text","description":"Format of the scripture text: text, html or json.","title":"Content Type"},"include_verse_numbers":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":true,"description":"True to keep verse numbers in the text.","title":"Include Verse Numbers"},"include_titles":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":true,"description":"True to keep section titles in the text.","title":"Include Titles"},"include_notes":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include footnotes in the text.","title":"Include Notes"}},"required":["bible_id","verse_id"],"title":"get_verseArguments","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":{"post":{"operationId":"get_passage","summary":"Read a range of verses (up to 200) by passage id: two verse ids joined by a hyphen, for example 'JHN.3.1-JHN.3.16'. Use ","description":"Read a range of verses (up to 200) by passage id: two verse ids joined by a hyphen, for example 'JHN.3.1-JHN.3.16'. Use for \"Show John 3:1 to 3:16\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"bible_id":{"description":"Bible id from list_bibles, a 16-character id plus a number, for example '78a9f6124f344018-01'.","maxLength":200,"title":"Bible Id","type":"string"},"passage_id":{"description":"Passage id: first and last verse ids joined by a hyphen, for example 'JHN.3.1-JHN.3.16'.","maxLength":200,"title":"Passage Id","type":"string"},"content_type":{"anyOf":[{"enum":["text","html","json"],"type":"string"},{"type":"null"}],"default":"text","description":"Format of the scripture text: text, html or json.","title":"Content Type"},"include_verse_numbers":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":true,"description":"True to keep verse numbers in the text.","title":"Include Verse Numbers"},"include_titles":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":true,"description":"True to keep section titles in the text.","title":"Include Titles"},"include_notes":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include footnotes in the text.","title":"Include Notes"}},"required":["bible_id","passage_id"],"title":"get_passageArguments","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 one Bible version for verses containing all given keywords (wildcards * and ? allowed) or matching a reference. U","description":"Search one Bible version for verses containing all given keywords (wildcards * and ? allowed) or matching a reference. Use for \"Find verses about 'love' in the KJV\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"bible_id":{"description":"Bible id from list_bibles, a 16-character id plus a number, for example '78a9f6124f344018-01'.","maxLength":200,"title":"Bible Id","type":"string"},"query":{"description":"Keywords (all must appear) or a passage reference.","maxLength":200,"title":"Query","type":"string"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Results per page (1 to 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging.","title":"Offset"},"sort":{"anyOf":[{"enum":["relevance","canonical","reverse-canonical"],"type":"string"},{"type":"null"}],"default":"relevance","description":"Order: relevance, canonical or reverse-canonical.","title":"Sort"}},"required":["bible_id","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}}}}