---
title: "Get the record count"
method: POST
path: "/v1/hosts/count"
tags: ["Hosts"]
---

# Get the record count

`POST /v1/hosts/count`

Returns the total no of records based on query

## Response `200`

OK

- object
  - `data` object
    - `count` integer
  - `message` string
  - `pagination` object
  - `success` boolean
  - ` meta` PaginationStruct
    - `current` string
    - `total` integer

## Other responses

- `400` — Bad Request
- `402` — Payment Required
- `408` — Request Timeout
- `500` — Internal Server Error

---

[API](https://skmtc.net/cybledev/apis/odin.md) · [All operations](https://skmtc.net/cybledev/apis/odin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cybledev/odin/revisions/95defd23433f/schema)
