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": 3260,
  "credits_remaining": 3740,
  "breakdown": [
    {
      "op": "blog_post.generate",
      "count": 4,
      "credits": 1600
    },
    {
      "op": "social_post.generate",
      "count": 32,
      "credits": 800
    },
    {
      "op": "image.generate",
      "count": 18,
      "credits": 720
    },
    {
      "op": "chat.message",
      "count": 9,
      "credits": 135
    },
    {
      "op": "storage.gb_month",
      "count": 0.4,
      "credits": 6
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.neuraldraft.io/llms.txt

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

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