Bible Search AI
POST
/v1/bible/search-ai3 creditsSemantic (embedding-based) scripture search. More powerful than keyword search โ understands the meaning of your query rather than just matching words.
When to use this vs. /v1/bible/search
Use /v1/bible/search for exact keyword matching (fast, 1 credit). Use /v1/bible/search-ai when you need semantic understanding โ e.g. "God's love for the world" should find John 3:16 even though the words don't literally match.
Request body
{
"query": "God's love for the world",
"top_k": 5,
"theme": "love"
}
| Field | Type | Required | Description |
|---|---|---|---|
| query | string | Yes | Natural language query (max 500 chars) |
| top_k | number | No | Max results (1โ50, default 10) |
| theme | string | No | Filter to a biblical theme |
Response
{
"verses": [
{
"reference": "John 3:16",
"text": "For God so loved the world that he gave his one and only Son...",
"score": 0.97
},
{
"reference": "Romans 5:8",
"text": "But God shows his love for us in that while we were still sinners, Christ died for us.",
"score": 0.94
}
],
"creditsUsed": 3
}