Skip to main content
POST
/
store
/
items
/
search
Search for items within a namespace prefix.
curl --request POST \
  --url https://api.b-bot.space/api/v2/store/items/search \
  --header 'Content-Type: application/json' \
  --header 'bbot-api-key: <api-key>' \
  --data '
{
  "namespace_prefix": [
    "<string>"
  ],
  "filter": {},
  "limit": 10,
  "offset": 0,
  "query": "<string>"
}
'
{
  "items": [
    {
      "namespace": [
        "<string>"
      ],
      "key": "<string>",
      "value": {},
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

bbot-api-key
string
header
required

API key for authentication

Body

application/json

Request to search for items within a namespace prefix.

namespace_prefix
string[] | null

List of strings representing the namespace prefix.

filter
Filter · object

Optional dictionary of key-value pairs to filter results.

limit
integer
default:10

Maximum number of items to return (default is 10).

offset
integer
default:0

Number of items to skip before returning results (default is 0).

query
string | null

Query string for semantic/vector search.

Response

Success

items
object[]
required