Returns the total no of records based on query
curl --request POST \ --url https://api.odin.io/v1/hosts/count \ --header 'Content-Type: */*' \ --header 'X-API-Key: <api-key>' \ --data '{ "query": "<string>" }'
{ "data": { "count": 123 }, "message": "<string>", "pagination": {}, "success": true, " meta": { "current": "<string>", "total": 123 } }
Show child attributes
Was this page helpful?