{ "opencollection": "1.0.0", "info": { "name": "AFM Access Profiles Transaction API", "version": "0.1.0" }, "items": [ { "info": { "name": "Transaction", "type": "folder" }, "items": [ { "info": { "name": "Get Chat Transactions", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/app/v1/chat-transactions", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Number of transactions to return" }, { "name": "offset", "value": "", "type": "query", "description": "Number of transactions to skip" }, { "name": "start_date", "value": "", "type": "query", "description": "Start date for filtering" }, { "name": "end_date", "value": "", "type": "query", "description": "End date for filtering" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get all chat transactions for the organization with detailed user info" }, { "info": { "name": "Export Chat Transactions", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/app/v1/chat-transactions/export", "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Export chat transactions for the organization" }, { "info": { "name": "Get Usage Stats", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/app/v1/usage-stats", "params": [ { "name": "start_date", "value": "", "type": "query", "description": "Start date for filtering" }, { "name": "end_date", "value": "", "type": "query", "description": "End date for filtering" }, { "name": "model", "value": "", "type": "query", "description": "Filter by specific model" }, { "name": "model_provider", "value": "", "type": "query", "description": "Filter by model provider" }, { "name": "source", "value": "", "type": "query", "description": "Filter by source (api or app)" }, { "name": "limit", "value": "", "type": "query", "description": "Number of records to return" }, { "name": "offset", "value": "", "type": "query", "description": "Number of records to skip" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get daily usage statistics for the organization" }, { "info": { "name": "Get Usage Summary", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/app/v1/usage-stats/summary", "params": [ { "name": "start_date", "value": "", "type": "query", "description": "Start date for summary" }, { "name": "end_date", "value": "", "type": "query", "description": "End date for summary" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get aggregated usage summary statistics for the organization" }, { "info": { "name": "Export Usage Stats", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/app/v1/usage-stats/export", "params": [ { "name": "start_date", "value": "", "type": "query", "description": "Start date for export" }, { "name": "end_date", "value": "", "type": "query", "description": "End date for export" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Export daily usage statistics for the organization" }, { "info": { "name": "Get Api Calls Volume", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/app/v1/api-calls-volume", "params": [ { "name": "from_date", "value": "", "type": "query", "description": "Start date for API calls filter" }, { "name": "to_date", "value": "", "type": "query", "description": "End date for API calls filter" }, { "name": "limit", "value": "", "type": "query", "description": "Number of API calls to return" }, { "name": "offset", "value": "", "type": "query", "description": "Number of API calls to skip" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get API call volume (chat transactions with API keys) for the current user's organization.\nOnly accessible by users with 'admin' or 'owner' role." } ] } ], "bundled": true }