Get Call Expenditure
curl --request GET \
--url https://api.agentline.cloud/v1/billing/expenditure/calls \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.agentline.cloud/v1/billing/expenditure/calls"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.agentline.cloud/v1/billing/expenditure/calls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Billing
Get Call Expenditure
List individual call charges from AI agent phone calls.
Each entry includes the voice call duration, cost, direction (inbound/outbound), phone numbers involved, and timestamp. Shows exactly how much each AI agent call cost.
GET
/
v1
/
billing
/
expenditure
/
calls
Get Call Expenditure
curl --request GET \
--url https://api.agentline.cloud/v1/billing/expenditure/calls \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.agentline.cloud/v1/billing/expenditure/calls"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.agentline.cloud/v1/billing/expenditure/calls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
AgentLine API key. Get one via the email OTP flow (POST /v1/auth/otp then POST /v1/auth/verify). Pass as: Authorization: Bearer sk_live_...
Query Parameters
Maximum number of call charges to return (1-200)
Required range:
1 <= x <= 200Number of records to skip for pagination
Required range:
x >= 0Response
Successful Response