Endpoints

Transaction History

GEThttps://api.oneinfer.ai/v1/developer/:developerId/get-transactions

Retrieve a comprehensive list of all account activity, including credit refills and platform usage debits.

Path Parameters

developerId
string requiredYour unique developer identifier.

Request example

curl -X GET "https://api.oneinfer.ai/v1/developer/{developerId}/get-transactions" \
  -H "Authorization: Bearer <ACCESS_TOKEN>"

Response example

200 OK
{ "allTransactions": [ { "_id": "65e1...", "transaction": { "transaction_id": "tx_123...", "amount": 1000, "transaction_type": "debit", "description": "GPU Instance spend", "timestamp": "2024-03-21T10:00:00Z", "instance_id": "inst_987...", "price_per_hour": 0.50 } } ] }

Error Status Codes

CodeStatusDescription
200OKTransaction list returned successfully.
401UnauthorizedMissing or invalid Authorization header / Bearer token.
500Internal Server ErrorUnexpected error fetching transactions.

Response

202 - application/json