Skip to main content
POST
/
v1
/
bot
/
search
Search Agent Memory
curl --request POST \
  --url https://api.boostgpt.co/v1/bot/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "bot_id": "<string>",
  "keywords": "<string>",
  "source_ids": [
    "<string>"
  ],
  "tags": [
    "<string>"
  ],
  "top": 5
}
'
{
  "results": {
    "context": "<string>",
    "sources": [
      {
        "source_id": "<string>",
        "favicon": "<string>",
        "title": "<string>",
        "url": "<string>",
        "tags": [
          "<string>"
        ]
      }
    ],
    "confidence_score": 123
  }
}

Authorizations

Authorization
string
header
required

Enter your API key

Body

application/json
project_id
string
required

Project ID

bot_id
string
required

Agent ID

keywords
string
required

Search keywords

source_ids
string[]

Filter by specific memory source IDs

tags
string[]

Filter by tags

top
integer
default:5

Number of top results to return

Response

200 - application/json

Search results retrieved successfully

results
object

Search results containing context and sources