List Credit Transactions
get
/v1/graphs/{graph_id}/credits/transactionsPart of Credits.
Authentication
Authenticate in any one of these ways — not all of them:
- API key in the
X-API-Keyheader. - Bearer token in the
Authorizationheader.
Path parameters
| Name | Type | Description |
|---|---|---|
graph_idrequired | string | Graph database identifier |
Query parameters
| Name | Type | Description |
|---|---|---|
transaction_typeoptional | string | Filter by transaction type (allocation, consumption, bonus, refund) |
operation_typeoptional | string | Filter by operation type (e.g., entity_lookup, cypher_query) |
start_dateoptional | string | Start date for filtering (ISO format: YYYY-MM-DD) |
end_dateoptional | string | End date for filtering (ISO format: YYYY-MM-DD) |
limitoptional | integer | Maximum number of transactions to return Default: |
offsetoptional | integer | Number of transactions to skip Default: |
Example request
curl
curl -X GET "https://api.robosystems.ai/v1/graphs/{graph_id}/credits/transactions" \
-H "X-API-Key: $ROBOSYSTEMS_API_KEY"Responses
200 Successful Response
| Field | Type | Description | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
transactionsrequired | EnhancedCreditTransactionResponse[] | Enhanced credit transaction response with more details. EnhancedCreditTransactionResponse fields
| |||||||||||||||||||||||||||||||||
summaryrequired | object | ||||||||||||||||||||||||||||||||||
total_countrequired | integer | ||||||||||||||||||||||||||||||||||
filtered_countrequired | integer | ||||||||||||||||||||||||||||||||||
date_rangerequired | object |
| Status | Meaning |
|---|---|
| 400 | Invalid request |
| 401 | Authentication required |
| 403 | Access denied |
| 404 | Resource not found |
| 422 | Validation Error |
| 429 | Rate limit exceeded |
| 500 | Internal server error |