Skip to main content
GET
https://api.agent-mind.com
/
api
/
v1
/
agent
/
info
Info
curl --request GET \
  --url https://api.agent-mind.com/api/v1/agent/info \
  --header 'Authorization: Bearer <token>'

Overview

Get information about your agent setup and account status, including credit balance, tool count, memory count, and conversation count.

Response

{
  "status": "active",
  "credits_remaining": 94,
  "total_credits_purchased": 100,
  "tools_available": 5,
  "memories_count": 127,
  "conversations_count": 23
}

Response Fields

FieldTypeDescription
statusstringAgent status (always “active”)
credits_remainingintegerCredits available for API calls
total_credits_purchasedintegerTotal credits ever purchased
tools_availableintegerNumber of active custom tools
memories_countintegerTotal memories stored
conversations_countintegerTotal conversations created

Examples

import requests

url = "https://api.leedab.com/api/v1/agent/info"
headers = {
    "Authorization": "Bearer am_live_your_api_key"
}

response = requests.get(url, headers=headers)
info = response.json()

print(f"Credits: {info['credits_remaining']}")
print(f"Tools: {info['tools_available']}")
print(f"Memories: {info['memories_count']}")

Error Responses

401 Unauthorized

{
  "detail": "Invalid or missing API key"
}