The plan behind one index and how much of it is used: disk, traffic and documents of the index, indexes left on the account, crawl limits, AI requests and API rate limits.
https://opensolr.com/solr_manager/api/get_account_summaryemail and api_key of your account, as GET or POST parameters: Authentication. Plus a signature: see below.01 · Parameters
core_nameRequiredThe name of your index.
signatureRequiredHex HMAC-SHA256 of core_name followed by email, keyed with your API key.
02 · Example
SIG=$(printf '%s' "my_indexYOUR_EMAIL" | openssl dgst -sha256 -hmac "YOUR_API_KEY" | sed 's/^.* //') curl -s "https://opensolr.com/solr_manager/api/get_account_summary?email=YOUR_EMAIL&api_key=YOUR_API_KEY&core_name=my_index&signature=$SIG"
03 · Answer
plan, plan_id, price, recurrenceThe plan: Free, Corporate, Pre-Paid Plan or Inactive.
is_trial, trial_days_remainingAlways false and 0: the free plan does not expire. Kept for older integrations.
disk_used_mb, disk_limit_mbDisk used by this index, and its limit.
bandwidth_used_mb, bandwidth_limit_mbTraffic of this index this month, and its limit.
indexed_docsDocuments in this index.
index_limit, indexes_used, indexes_availableIndexes your plan allows, have, and can still create.
crawl_max_pages, crawl_max_threads, crawl_max_filesize_mb, crawl_max_traffic_mbThe crawl limits of the plan.
has_webcrawler, has_analytics, has_backup, vector_allowedWhat the plan includes.
max_ai_requests, ai_requests_used, ai_over_quota, ai_availableThe monthly AI allowance, what is used, and whether AI works right now: API Quota.
max_per_minute, max_per_hourYour API rate limits.
photos_per_requestHow many photos of an Opensolr Photos index count as one AI request.
solr_version, index_name, crawler_ipThe index, and the address of its server.
04 · Errors
ERROR_MISSING_PARAMSHTTP 200No core_name or no signature.
ERROR_INVALID_SIGNATUREHTTP 200The signature does not match.
ERROR_NOT_CORE_OWNERHTTP 200The index is not yours.
ERROR_AUTHENTICATION_FAILEDHTTP 403The email and API key do not match.
ERROR_RATE_LIMIT_PER_MINUTEHTTP 429Too many calls. Wait for the Retry-After seconds: Rate limits.
05 · Related
The same summary with crawl stats and regions: get_settings_dashboard.
How to sign: Authentication.
Every error code and HTTP status of the API: API errors. Calls per minute and per hour: Rate limits.