Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mind-e.co/docs/llms.txt

Use this file to discover all available pages before exploring further.

Endpoint

POST /subscriptions/limits

Authentication

Required.

Request body

check
string
required
What to check: agent (can you create another agent?) or storage (can you upload more data?).
bytes
number
Required when check is storage. The size in bytes of the content you want to upload.

Response

success
boolean
check
string
The check type (agent or storage).
allowed
boolean
Whether the action is allowed within your current plan limits.
currentUsage
number
Current usage (agent count or storage bytes).
limit
number
Plan limit (max agents or max storage bytes).
remaining
number
Remaining capacity.

Example

curl -X POST https://api.mind-e.co/subscriptions/limits \
  -H "Authorization: Bearer sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{ "check": "agent" }'

Response

{
  "success": true,
  "check": "agent",
  "allowed": true,
  "currentUsage": 3,
  "limit": 10,
  "remaining": 7
}