Skip to main content
POST
/
v1
/
rag_retrieve
/
{ai_id}
Rag Retrieve
curl --request POST \
  --url https://api.gbase.ai/v1/rag_retrieve/{ai_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>",
  "top_k": 8
}
'
{}

Headers

authorization
string

Path Parameters

ai_id
string<uuid>
required

Body

application/json
query
string
required
top_k
integer
default:8

Response

Successful Response

The response is of type Response Rag Retrieve V1 Rag Retrieve Ai Id Post · object.