GET
/
v1
/
hives
List All Hives
curl --request GET \
  --url https://api.trata.ai/v1/hives \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "hiv.1727418138.IPGwVl1f",
    "orgId": "org.1726902940.GZChqlpU",
    "content": {
      "hiveType": "WEBSITE",
      "url": "https://www.cotekoreansteakhouse.com/",
      "hiveProps": {
        "crawl_child_pages": true
      }
    },
    "status": "completed",
    "createdBy": "org.1726902940.GZChqlpU",
    "createdAt": "2024-09-27T06:22:18.000277",
    "updatedBy": "trata-system",
    "updatedAt": "2024-09-27T06:27:34.276065"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

search_by
string | null

Field name to search by

search_value
string | null

Value to search for in the specified field

status
string | null

Filter by status

sort_by
string | null

Field to sort by

sort_order
enum<string> | null
default:asc

Sort order (asc or desc)

Available options:
asc,
desc
skip
integer
default:0

Number of records to skip

Required range: x >= 0
limit
integer
default:100

Maximum number of records to return

Required range: 1 <= x <= 100

Response

200
application/json

List of hives retrieved successfully

The response is of type Hive · object[].