Skip to content
API console (try a request with your own key)Get early access

Get the account

GET
/v1/account
curl -sS https://api.speccapture.com/v1/account \
-H "Authorization: Bearer $SPECCAPTURE_API_KEY"

The key you are calling with and its workspace: the workspace’s name, its plan or where its free trial stands, its credits (available, held for jobs being read, spent, and when the next of them expire) and how many sheets they pay for, the limits the key works within (requests a minute, the largest file, the most sheets and pixels, and how many days drawings are kept), the key itself - its name, whether it is live or test, and the role it acts with - and the free monthly allowance: its size, what is left of this month’s and when the next arrives. Any key, live or test: the first call to make with a new key.

OK

Media typeapplication/json

The workspace the key belongs to - its credits and plan - the limits the key works within, and the key itself: GET /v1/account.

object
workspaceName
required

The workspace’s name.

string
plan
required

What the workspace is on: a monthly plan, or where its free trial stands.

object
name
required

The plan while the workspace is on one, else where its free trial stands.

string
Allowed values: trial trialEnded none starter pro business scale
trialEndsAt
required

When the free trial ends or ended; null when the workspace never had one.

null | string format: date-time
renewsAt

When the plan renews and its next month’s credits arrive; null when it is set to end, or there is no plan.

null | string format: date-time
endsAt

When a canceled plan ends, at the end of the month paid for; null otherwise.

null | string format: date-time
paymentFailed

True when the plan’s last payment failed and is being retried: reading continues meanwhile, and the workspace’s owner updates the card on the dashboard’s Credits page. Null when there is no plan.

null | boolean
credits
required

The workspace’s credits: what is available, what is held for jobs being read, and what was spent.

object
available
required

What can be reserved now.

integer format: int32
held
required

Reserved for jobs still being read.

integer format: int32
spent
required

What read sheets have cost, all time.

integer format: int32
perSheet
required

What one drawing sheet costs.

integer format: int32
sheetsAvailable
required

How many more sheets the available credits pay for.

integer format: int32
nextExpiry
One of:
null
limits
required

The key’s rate limit, the largest file and the most sheets and pixels one may hold, and how long drawings are kept.

object
requestsPerMinute
required

This key’s rate limit; the X-RateLimit-* headers on every response count against it.

integer format: int32
maximumFileSizeMegabytes
required

The largest file a submission takes, in megabytes.

integer format: int32
maximumSheetsPerFile
required

The most sheets (pages) one file may hold.

integer format: int32
maximumPageMegapixels
required

The most pixels one page may hold, in millions, as page_too_large states it.

integer format: int32
retentionDays
required

How many days after a job finishes its drawing is kept - the uploaded file, its page images and every value’s box. After that every box is null, view links are refused, and the job says when (drawingPurgedAt).

integer format: int32
apiKey
required

The key this request was made with.

object
keyId
required

The key’s id, as GET /v1/api-keys lists it.

string format: uuid
name
required

What the person who made the key called it (“ERP import”).

string
mode
required

A live key reads drawings and spends credits; a test key never does.

string
Allowed values: live
role
One of:
null
sheetsRemaining
required

How many more drawing sheets the workspace can read now: the same as sheetsAvailable, at perSheet credits a sheet.

integer format: int32
freeAllowance
One of:
null

Examples

A live key on the Pro plan

{
"workspaceName": "Northfield Precision",
"plan": {
"name": "pro",
"trialEndsAt": "2026-09-13T14:02:41+00:00",
"renewsAt": "2026-11-03T00:00:00+00:00",
"endsAt": null,
"paymentFailed": false
},
"credits": {
"available": 1832,
"held": 0,
"spent": 1168,
"perSheet": 4,
"sheetsAvailable": 458,
"nextExpiry": {
"credits": 1832,
"expiresAt": "2026-11-03T00:00:00+00:00"
}
},
"limits": {
"requestsPerMinute": 120,
"maximumFileSizeMegabytes": 50,
"maximumSheetsPerFile": 200,
"maximumPageMegapixels": 150,
"retentionDays": 90
},
"apiKey": {
"keyId": "9d4c1a2b-6e8f-4a3c-b5d7-2f1e0a9b8c7d",
"name": "ERP import",
"mode": "live",
"role": "admin"
},
"sheetsRemaining": 458,
"freeAllowance": {
"sheetsPerMonth": 10,
"status": "onPlan",
"sheetsLeft": 0,
"creditsLeft": 0,
"renewsAt": null
}
}