POST
/
generate
/
search
curl --request POST \
  --url https://api.drymerge.com/generate/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "<string>",
  "agent": {
    "type": "<string>",
    "organization": "<string>",
    "namespace": "<string>",
    "name": "<string>",
    "isolation": "<string>"
  },
  "history": [
    {
      "text": "<string>",
      "sender": "user"
    }
  ]
}'
{}

Authorizations

Authorization
string
headerrequired

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

Body

application/json
prompt
string

The user's most recent message.

agent
object

An identity is a unique identifier for an entity.

history
object[]

The history of the chat up to this point.

Response

200 - application/json

The response is of type object.