curl --request GET \
--url https://api.useaira.com/v1/resources/ \
--header 'X-API-KEY: <api-key>'{
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Emails sent",
"type": "unit",
"aggregation": "sum",
"aggregateByField": "value",
"customFields": {
"customField1": "value1",
"customField2": [
"value2",
"value3"
]
},
"filters": [
{
"property": "eventName",
"value": "email_sent"
}
]
}
],
"hasMore": true
}This endpoint allows fetching a list of resources.
curl --request GET \
--url https://api.useaira.com/v1/resources/ \
--header 'X-API-KEY: <api-key>'{
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Emails sent",
"type": "unit",
"aggregation": "sum",
"aggregateByField": "value",
"customFields": {
"customField1": "value1",
"customField2": [
"value2",
"value3"
]
},
"filters": [
{
"property": "eventName",
"value": "email_sent"
}
]
}
],
"hasMore": true
}Documentation Index
Fetch the complete documentation index at: https://docs.useaira.com/llms.txt
Use this file to discover all available pages before exploring further.
API Key Authentication.
x >= 01 <= x <= 100