Create Query
POST
/admin/automations/{id}/actions/{actionId}/query
const url = 'http://localhost:9000/admin/automations/example/actions/example/query';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"entity_name":"example","fields":["example"],"filters":{},"limit":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:9000/admin/automations/example/actions/example/query \ --header 'Content-Type: application/json' \ --data '{ "entity_name": "example", "fields": [ "example" ], "filters": {}, "limit": "example" }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
actionId
required
string
Request Body required
Section titled “Request Body required ” Media type application/json
object
entity_name
required
string
fields
Array<string>
filters
object
key
additional properties
any
limit
string
Example generated
{ "entity_name": "example", "fields": [ "example" ], "filters": {}, "limit": "example"}Responses
Section titled “ Responses ”OK
Media type application/json
object
Example generated
{}