Browse the API reference

Get Credit Summary

get/v1/graphs/{graph_id}/credits

Part of Credits.

Authentication

Authenticate in any one of these ways — not all of them:

  • API key in the X-API-Key header.
  • Bearer token in the Authorization header.

Path parameters

NameTypeDescription
graph_idrequiredstringGraph database identifier

Example request

curl
curl -X GET "https://api.robosystems.ai/v1/graphs/{graph_id}/credits" \
  -H "X-API-Key: $ROBOSYSTEMS_API_KEY"

Responses

200 Successful Response

FieldTypeDescription
graph_idrequiredstring
graph_tierrequiredstring
current_balancerequirednumber
monthly_allocationrequirednumber
consumed_this_monthrequirednumber
transaction_countrequiredinteger
usage_percentagerequirednumber
last_allocation_dateoptionalstring
StatusMeaning
400Invalid request
401Authentication required
403Access denied
404Resource not found
422Validation Error
429Rate limit exceeded
500Internal server error