veryfront__list_credit_transactions
Requires account.billing.read.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Read-only.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
limit | integer | No | Maximum number of transactions to return. Default 50. Default: 50. Minimum: 1. Maximum: 100. |
cursor | string | No | Opaque pagination cursor returned by a previous response. |
activity_type | string | No | Provide the activity type. Values: "ai_usage", "run_runtime", "sandbox_runtime", "credit_purchase", "coupon_redemption", "tier_grant"; see schema for the complete list. |
sort_by | string | No | Provide the sort by. Default: "date". Values: "date", "amount", "activity". |
sort_order | string | No | Provide the sort order. Default: "desc". Values: "asc", "desc". |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__list_credit_transactions",7 "arguments": {}8 }9}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
data | object[] | Yes | Primary result records returned by the tool. |
page_info | object | Yes | Pagination cursor values for traversing the result set. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "limit": {5 "type": "integer",6 "minimum": 1,7 "maximum": 100,8 "default": 50,9 "description": "Maximum number of transactions to return. Default 50."10 },11 "cursor": {12 "type": "string",13 "description": "Opaque pagination cursor returned by a previous response."14 },15 "activity_type": {16 "type": "string",17 "enum": [18 "ai_usage",19 "run_runtime",20 "sandbox_runtime",21 "credit_purchase",22 "coupon_redemption",23 "tier_grant",24 "refund",25 "other_usage"26 ],27 "description": "Provide the activity type."28 },29 "sort_by": {30 "type": "string",31 "enum": [32 "date",33 "amount",34 "activity"35 ],36 "default": "date",37 "description": "Provide the sort by."38 },39 "sort_order": {40 "type": "string",41 "enum": [42 "asc",43 "desc"44 ],45 "default": "desc",46 "description": "Provide the sort order."47 }48 },49 "additionalProperties": false,50 "$schema": "http://json-schema.org/draft-07/schema#",51 "description": "Arguments for the list_credit_transactions tool."52}output-schema.json
1{2 "type": "object",3 "properties": {4 "data": {5 "type": "array",6 "items": {7 "type": "object",8 "properties": {9 "id": {10 "type": "string",11 "description": "Unique identifier for the returned record."12 },13 "user_id": {14 "type": "string",15 "description": "The user id returned by the tool."16 },17 "type": {18 "type": "string",19 "enum": [20 "tier_grant",21 "purchase",22 "spend",23 "refund"24 ],25 "description": "The type returned by the tool."26 },27 "pool": {28 "type": "string",29 "enum": [30 "tier",31 "purchased"32 ],33 "description": "The pool returned by the tool."34 },35 "amount": {36 "type": "number",37 "description": "The amount returned by the tool."38 },39 "description": {40 "type": [41 "string",42 "null"43 ],44 "description": "Human-readable description returned by the tool."45 },46 "metadata": {47 "anyOf": [48 {49 "type": "object",50 "additionalProperties": {51 "description": "Additional structured values returned by the tool."52 },53 "description": "Additional structured metadata returned by the tool."54 },55 {56 "type": "null",57 "description": "Additional structured metadata returned by the tool."58 }59 ],60 "description": "Additional structured metadata returned by the tool."61 },62 "activity_type": {63 "type": "string",64 "enum": [65 "ai_usage",66 "run_runtime",67 "sandbox_runtime",68 "credit_purchase",69 "coupon_redemption",70 "tier_grant",71 "refund",72 "other_usage"73 ],74 "description": "The activity type returned by the tool."75 },76 "project_id": {77 "type": [78 "string",79 "null"80 ],81 "description": "Project identifier associated with this result."82 },83 "project_name": {84 "type": [85 "string",86 "null"87 ],88 "description": "The project name returned by the tool."89 },90 "project_slug": {91 "type": [92 "string",93 "null"94 ],95 "description": "The project slug returned by the tool."96 },97 "created_at": {98 "type": "string",99 "description": "Creation timestamp in ISO 8601 format."100 }101 },102 "required": [103 "id",104 "user_id",105 "type",106 "pool",107 "amount",108 "description",109 "metadata",110 "activity_type",111 "created_at"112 ],113 "additionalProperties": false,114 "description": "One data item returned by the tool."115 },116 "description": "Primary result records returned by the tool."117 },118 "page_info": {119 "type": "object",120 "properties": {121 "self": {122 "type": [123 "string",124 "null"125 ],126 "description": "Cursor that refers to the current page."127 },128 "first": {129 "type": "null",130 "description": "The first returned by the tool."131 },132 "next": {133 "type": [134 "string",135 "null"136 ],137 "description": "Cursor for the next page when pagination is available."138 },139 "prev": {140 "type": [141 "string",142 "null"143 ],144 "description": "Cursor for the previous page when pagination is available."145 }146 },147 "required": [148 "self",149 "first",150 "next",151 "prev"152 ],153 "additionalProperties": false,154 "description": "Pagination cursor values for traversing the result set."155 }156 },157 "required": [158 "data",159 "page_info"160 ],161 "additionalProperties": false,162 "$schema": "http://json-schema.org/draft-07/schema#",163 "description": "Structured result returned by the list_credit_transactions tool."164}