Skip to main content
POST
/
app
/
aimodel
/
{ai_model_id}
Query Real-Time Search
curl --request POST \
  --url https://api.dappier.com/app/aimodel/{ai_model_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>"
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

ai_model_id
string
required

The ID of the AI model to query (e.g., am_01j06ytn18ejftedz6dyhz2b15).

Body

application/json
query
string
required

The query text to be passed to the AI model.

Response

200 - application/json

Returns HTTP Status Code 200 (OK).

message
string
required

The response of the query sent, generated by the AI model.