Skip to main content
POST
Ask an agent

Authorizations

X-Api-Key
string
header
required

Your LinkedCamp API key.

Body

application/json
agentId
string
required

AI agent id, from agent_list.

conversationId
string
required

Context for the retrieval.

query
string
required

The question to put to the agent.

Response

The result, as JSON. Writes answer { "ok": true, "message": ..., "data": ... }.

The response is of type object.