메인 콘텐츠로 건너뛰기
GET
/
api
/
v1
/
transactions
curl https://api.arouter.ai/api/v1/transactions \
  -H "Authorization: Bearer lr_live_xxxx"
curl https://api.arouter.ai/api/v1/transactions \
  -H "Authorization: Bearer lr_live_xxxx"

응답

{
  "transactions": [
    {
      "id": "txn_xxx",
      "type": "usage",
      "amount": -0.0042,
      "description": "openai/gpt-5.4 - 500 input tokens, 200 output tokens",
      "created_at": "2026-04-03T10:00:00Z"
    },
    {
      "id": "txn_yyy",
      "type": "credit",
      "amount": 50.0,
      "description": "Credit purchase",
      "created_at": "2026-04-01T09:00:00Z"
    }
  ]
}
필드설명
id고유 거래 ID
typeusage 또는 credit 등의 거래 유형
amount크레딧 구매는 양수, 사용 요금은 음수
description거래에 대한 사람이 읽을 수 있는 설명
created_at거래가 기록된 시점의 RFC3339 타임스탬프

참고 사항

  • 결과는 최신 순으로 정렬됩니다.
  • 사용 요금은 해당되는 경우 캐시된 토큰 및 추론 토큰을 포함한 정규화된 ARouter 회계를 반영합니다.
  • 대시보드 내보내기 및 모델 또는 API key별 그룹화는 활동 내보내기를 참조하세요.