POST
/
ai
/
v1
/
data
/
items
/
recommendations
/
base
Get Base Item Recommendations
curl --request POST \
  --url https://platform.ai.gloo.com/ai/v1/data/items/recommendations/base \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "collection": "GlooProd",
  "max_snippet_count_overall": 10,
  "media_types": [],
  "min_snippet_count_per_item": 1,
  "publishers": [
    "Test New Tenant"
  ],
  "query": "Plans God has for me",
  "tenant": "TestNewTenant",
  "certainty_threshold": 0.5
}'
[
{
"item_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"author": [
"<string>"
],
"filename": "<string>",
"denomination": "<string>",
"duration": "<string>",
"item_title": "<string>",
"item_subtitle": "<string>",
"item_image": "<string>",
"item_url": "<string>",
"item_tags": "<string>",
"h2_id": "<string>",
"h2_title": "<string>",
"h2_subtitle": "<string>",
"h2_image": "<string>",
"h2_url": "<string>",
"h2_tags": "<string>",
"h3_id": "<string>",
"h3_title": "<string>",
"h3_subtitle": "<string>",
"h3_image": "<string>",
"h3_url": "<string>",
"h3_tags": "<string>",
"h2_summary": "<string>",
"publication_date": "<string>",
"publisher": "<string>",
"publisher_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"publisher_url": "<string>",
"publisher_logo": "<string>",
"summary": "<string>",
"type": "<string>",
"hosted_url": "<string>",
"snippet_count": 123,
"cumulative_certainty": 123,
"uuids": [
{
"uuid": "<string>",
"ai_title": "<string>",
"ai_subtitle": "<string>",
"summary": "<string>",
"time_start": "<string>",
"time_end": "<string>",
"part": 123,
"certainty": 123
}
]
}
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Parameters for retrieving base item recommendations.

The body is of type object.

Response

200
application/json

Successful response returning a list of items with basic snippet metadata.

The response is of type ItemsRecommendationsResponseItemBase · object[].