Skip to main content
GET
/
projects
/
me
/
usage
cURL
curl https://api.neuraldraft.io/v1/projects/me/usage \
  -H "Authorization: Bearer ndsk_live_yourkey"
{
  "period_start": "2026-04-01T00:00:00Z",
  "period_end": "2026-05-01T00:00:00Z",
  "plan": "hobby",
  "plan_credits": 5000,
  "topup_credits": 2000,
  "credits_used": 1295,
  "credits_remaining": 5705,
  "breakdown": [
    {
      "op": "blog_post",
      "count": 8,
      "credits": 480
    },
    {
      "op": "social_post",
      "count": 32,
      "credits": 160
    },
    {
      "op": "image",
      "count": 15,
      "credits": 480
    },
    {
      "op": "translate_language",
      "count": 12,
      "credits": 84
    },
    {
      "op": "chat_message",
      "count": 91,
      "credits": 91
    }
  ]
}

Authorizations

Authorization
string
header
required

Project API key. Pass as Authorization: Bearer ndsk_live_.... Manage keys via /projects/me/api-keys. Test-mode keys use the ndsk_test_ prefix.

Query Parameters

period
enum<string>
default:current

Which billing period to return.

Available options:
current,
previous

Response

Usage object.

period_start
string<date-time>
required
period_end
string<date-time>
required
plan
enum<string>
required
Available options:
free,
hobby,
build,
scale,
enterprise
plan_credits
integer
required
Example:

5000

credits_used
integer
required
Example:

3260

credits_remaining
integer
required
Example:

3740

breakdown
object[]
required
topup_credits
integer
Example:

2000