POST
/
agent
JavaScript
import Morphik from 'morphik';

const client = new Morphik({
  apiKey: 'My API Key',
});

const response = await client.agent.executeQuery({ query: 'query' });

console.log(response);
{}

Headers

authorization
string

Body

application/json

Request model for agent queries

Response

200
application/json

Successful Response

The response is of type object.