HumanBlend developers

API reference

Every route of https://api.humanblended.com/v1.

Send your key as Authorization: Bearer <key>. Every POST that starts something needs an Idempotency-Key header. Read Getting started first if you have not made a call yet, and Errors and limits for what each code means.

The contract in machine-readable form is v1.yaml (OpenAPI 3.1).

Account

Your plan, credits and limits.

GET /account

Get the account scope read works without a plan

Your plan, the credits you have, SEO articles, the limits that apply, and this key's scopes and use this month. Works on an account with no plan, so an integration can show the next step.

Answers

200The account. Account
401missing_api_key or invalid_api_key. Error
429rate_limited or concurrency_limit. Retry-After says when to try again. Error

Example

curl https://api.humanblended.com/v1/account \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY"

POST /estimate

Estimate a run scope read works without a plan

How many words and credits a text would use, whether you have them, and how many you are short. Charges nothing.

Body

FieldTypeDescription
text requiredTextThe text. Your plan's words-per-run limit applies.
formatFormatmarkdown keeps headings, lists, links and code as they are. Default text.

Answers

200The estimate. Estimate
400validation_failed (details.fields lists each problem), idempotency_key_required or unknown_mode. Error
401missing_api_key or invalid_api_key. Error
429rate_limited or concurrency_limit. Retry-After says when to try again. Error

Example

curl -X POST https://api.humanblended.com/v1/estimate \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"Your text here."}'

Plans and billing

Choose a plan and manage billing. You always pay in the browser, on Stripe's page.

GET /plans

List plans scope read works without a plan

The monthly and annual plans with price, credits and limits, and whether this account can start the card trial. Enterprise is not listed (it is priced by credits, in the app). data is empty while billing is closed.

Answers

200The plans.
401missing_api_key or invalid_api_key. Error

Example

curl https://api.humanblended.com/v1/plans \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY"

POST /checkout

Start a plan scope billing works without a plan

Returns a Stripe Checkout link for this account, with the card trial when the account is eligible. The person pays in the browser; nothing is charged through the API.

If the account already has a subscription, the answer is 409 plan_active: use the billing portal instead. Only the account owner can start a plan: a key made by a member answers 403 forbidden. Enterprise cannot be started here (400 validation_failed). 403 account_frozen. 503 billing_unavailable when billing is closed. A replay with the same Idempotency-Key returns the same link; a different body with the same key is 409 idempotency_conflict.

Parameters

NameInTypeDescription
Idempotency-Key requiredheaderstring8 to 255 characters. Sending the same key again returns the first result instead of starting a second run. The same key with a different body is refused with a 409.

Body

FieldTypeDescription
plan requiredstringA plan code from GET /plans.
interval requiredmonth | year

Answers

201The checkout link.
400validation_failed (details.fields lists each problem), idempotency_key_required or unknown_mode. Error
401missing_api_key or invalid_api_key. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error
409plan_active: the account already has a subscription. Error

Example

curl -X POST https://api.humanblended.com/v1/checkout \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"plan":"...","interval":"month"}'

POST /billing/portal

Open the billing portal scope billing works without a plan

A Stripe customer portal link, where the person changes card, reads invoices, changes plan or cancels. The link is short-lived (expires_at is 5 minutes from now), so open it at once. Needs no Idempotency-Key. 409 no_customer when the account never paid.

Answers

201The portal link.
401missing_api_key or invalid_api_key. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error
409no_customer: the account never paid. Error

Example

curl -X POST https://api.humanblended.com/v1/billing/portal \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY"

Runs

Humanize a text, then follow the run.

POST /humanize

Start a run scope humanize

Rewrites a text so it reads naturally and keeps its meaning and facts, and reads it with both AI checks. The answer is 202 at once with the run; follow it with GET /jobs/{id}, a webhook, or a callback_url.

Every run uses HumanBlend's engine at 1 credit per word. An older integration may still send mode; its old values are accepted and run the same engine.

Parameters

NameInTypeDescription
Idempotency-Key requiredheaderstring8 to 255 characters. Sending the same key again returns the first result instead of starting a second run. The same key with a different body is refused with a 409.

Body

FieldTypeDescription
text requiredTextThe text. Your plan's words-per-run limit applies.
formatFormatmarkdown keeps headings, lists, links and code as they are. Default text.
spellingSpellingWhich English spelling to use. auto follows the text.
metadataMetadataUp to 10 labels of your own, keys up to 40 characters, values up to 200. They come back on the run and in webhooks.
seoSeoAlso optimize the text for a search keyword. Uses one of the account's SEO articles (GET /account shows how many are left) and takes longer.
callback_urlCallbackUrlAn https URL on a public host (the same checks as a webhook endpoint; a bad one is 400 validation_failed with a message starting "Callback URLs"). When the run, check or batch reaches a final state, HumanBlend sends one POST to it. See "Webhooks and callbacks". The job echoes callback_url: "set" and never the URL.
mode DeprecatedstringOptional and ignored. default, one, standard and ultra are accepted and run the same engine; any other value is 400 unknown_mode.

Answers

200The same Idempotency-Key and text as an earlier call; the first run is returned instead of a second one. Job
202The run was accepted. Retry-After says when to look again. Job
400validation_failed (details.fields lists each problem), idempotency_key_required or unknown_mode. Error
401missing_api_key or invalid_api_key. Error
402insufficient_credits (details.needed, available, short_by) or key_cap_reached. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error
409idempotency_conflict (the same Idempotency-Key with a different text), idempotency_key_reused (a batch: the same key with a different body) or batch_limit. Error
422text_too_short, text_too_long, too_many_characters or batch_invalid (details.problems by position). Error
429rate_limited or concurrency_limit. Retry-After says when to try again. Error

Example

curl -X POST https://api.humanblended.com/v1/humanize \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"text":"Your text here."}'

GET /jobs

List runs scope read

Your runs, newest first. A list carries no texts.

Parameters

NameInTypeDescription
statusqueryJobStatus
sincequerystringOnly runs created at or after this time.
limitqueryinteger
cursorquerystringnext_cursor from the previous page.

Answers

200A page of runs.
401missing_api_key or invalid_api_key. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error
429rate_limited or concurrency_limit. Retry-After says when to try again. Error

Example

curl https://api.humanblended.com/v1/jobs \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY"

GET /jobs/{id}

Get a run scope read

The run, and once it has succeeded, its output. While it is queued or processing, Retry-After says when to look again.

Parameters

NameInTypeDescription
id requiredpathstring

Answers

200The run. JobWithText
401missing_api_key or invalid_api_key. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error
404not_found. Error
429rate_limited or concurrency_limit. Retry-After says when to try again. Error

Example

curl https://api.humanblended.com/v1/jobs/ID \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY"

POST /jobs/{id}/cancel

Cancel a run scope humanize

Cancels a run that has not finished and gives its held credits back.

Parameters

NameInTypeDescription
id requiredpathstring

Answers

200The run, now cancelled (or already finished). Job
401missing_api_key or invalid_api_key. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error
404not_found. Error
429rate_limited or concurrency_limit. Retry-After says when to try again. Error

Example

curl -X POST https://api.humanblended.com/v1/jobs/ID/cancel \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY"

DELETE /jobs/{id}/content

Delete a run's text scope humanize

Deletes the input and output text now and keeps the record (its words, credits and scores).

Parameters

NameInTypeDescription
id requiredpathstring

Answers

204Deleted.
401missing_api_key or invalid_api_key. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error
404not_found. Error
429rate_limited or concurrency_limit. Retry-After says when to try again. Error

Example

curl -X DELETE https://api.humanblended.com/v1/jobs/ID/content \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY"

AI checks

Read a text with both AI checks.

POST /detect

Check a text scope detect

Reads a text with both AI checks (standard and strict) and returns both readings. It costs credits per word. 202 while the readings are still coming, 200 when done.

Parameters

NameInTypeDescription
Idempotency-Key requiredheaderstring8 to 255 characters. Sending the same key again returns the first result instead of starting a second run. The same key with a different body is refused with a 409.

Body

FieldTypeDescription
text requiredTextThe text. Your plan's words-per-run limit applies.
formatFormatmarkdown keeps headings, lists, links and code as they are. Default text.
callback_urlCallbackUrlAn https URL on a public host (the same checks as a webhook endpoint; a bad one is 400 validation_failed with a message starting "Callback URLs"). When the run, check or batch reaches a final state, HumanBlend sends one POST to it. See "Webhooks and callbacks". The job echoes callback_url: "set" and never the URL.

Answers

200The check is done. Detection
202The check was accepted and is still running. Detection
400validation_failed (details.fields lists each problem), idempotency_key_required or unknown_mode. Error
401missing_api_key or invalid_api_key. Error
402insufficient_credits (details.needed, available, short_by) or key_cap_reached. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error
409idempotency_conflict (the same Idempotency-Key with a different text), idempotency_key_reused (a batch: the same key with a different body) or batch_limit. Error
422text_too_short, text_too_long, too_many_characters or batch_invalid (details.problems by position). Error
429rate_limited or concurrency_limit. Retry-After says when to try again. Error
503auth_unavailable, detector_unavailable or submissions_paused. Try again shortly. Error

Example

curl -X POST https://api.humanblended.com/v1/detect \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"text":"Your text here."}'

GET /detections/{id}

Get a check scope read

A check and, once done, both readings.

Parameters

NameInTypeDescription
id requiredpathstring

Answers

200The check. Detection
401missing_api_key or invalid_api_key. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error
404not_found. Error
429rate_limited or concurrency_limit. Retry-After says when to try again. Error

Example

curl https://api.humanblended.com/v1/detections/ID \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY"

Bulk runs

Up to 100 texts in one call.

POST /batches

Start a bulk run scope batches

Up to 100 documents. Every document is checked and every credit is held before any run starts: if one document is invalid (422 batch_invalid) or your credits do not cover all of them (402 insufficient_credits with short_by), nothing runs and nothing is charged.

Bulk runs queue behind real-time runs and do not use your plan's runs-at-once. One batch runs at a time on Entry to Pro, three on Agency and above.

Parameters

NameInTypeDescription
Idempotency-Key requiredheaderstring8 to 255 characters. Sending the same key again returns the first result instead of starting a second run. The same key with a different body is refused with a 409.

Body

FieldTypeDescription
documents requiredarray of object
metadataMetadataUp to 10 labels of your own, keys up to 40 characters, values up to 200. They come back on the run and in webhooks.
callback_urlCallbackUrlAn https URL on a public host (the same checks as a webhook endpoint; a bad one is 400 validation_failed with a message starting "Callback URLs"). When the run, check or batch reaches a final state, HumanBlend sends one POST to it. See "Webhooks and callbacks". The job echoes callback_url: "set" and never the URL.

Answers

200The same Idempotency-Key and body as an earlier call; the first batch is returned. Batch
202The batch was accepted. Batch
400validation_failed (details.fields lists each problem), idempotency_key_required or unknown_mode. Error
401missing_api_key or invalid_api_key. Error
402insufficient_credits (details.needed, available, short_by) or key_cap_reached. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error
409idempotency_conflict (the same Idempotency-Key with a different text), idempotency_key_reused (a batch: the same key with a different body) or batch_limit. Error
422text_too_short, text_too_long, too_many_characters or batch_invalid (details.problems by position). Error
429rate_limited or concurrency_limit. Retry-After says when to try again. Error

Example

curl -X POST https://api.humanblended.com/v1/batches \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"documents":[{"text":"Your text here."}]}'

GET /batches/{id}

Get a bulk run scope read

The batch's status, counts and credits.

Parameters

NameInTypeDescription
id requiredpathstring

Answers

200The batch. Batch
401missing_api_key or invalid_api_key. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error
404not_found. Error
429rate_limited or concurrency_limit. Retry-After says when to try again. Error

Example

curl https://api.humanblended.com/v1/batches/ID \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY"

GET /batches/{id}/jobs

List a bulk run's documents scope read

Each document, in the order sent, with its text once done.

Parameters

NameInTypeDescription
id requiredpathstring
limitqueryinteger
cursorquerystringnext_cursor from the previous page.

Answers

200A page of documents.
401missing_api_key or invalid_api_key. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error
404not_found. Error
429rate_limited or concurrency_limit. Retry-After says when to try again. Error

Example

curl https://api.humanblended.com/v1/batches/ID/jobs \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY"

POST /batches/{id}/cancel

Cancel a bulk run scope batches

Cancels the documents that have not finished yet. cancelled is how many were cancelled.

Parameters

NameInTypeDescription
id requiredpathstring

Answers

200The batch, with how many documents were cancelled.
401missing_api_key or invalid_api_key. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error
404not_found. Error
429rate_limited or concurrency_limit. Retry-After says when to try again. Error

Example

curl -X POST https://api.humanblended.com/v1/batches/ID/cancel \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY"

Webhooks

Get told when a run, check or batch finishes.

GET /webhooks

List webhook endpoints scope webhooks

Answers

200Your endpoints.
401missing_api_key or invalid_api_key. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error

Example

curl https://api.humanblended.com/v1/webhooks \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY"

POST /webhooks

Create a webhook endpoint scope webhooks

The URL must be https on a public host. The signing secret is returned here once. Endpoints made on the Developers page keep a cap of 5; endpoints made through the API count against a cap of 50.

Body

FieldTypeDescription
url requiredstring
events requiredarray of WebhookEvent
sourcezapier | make | n8n | apiWhich tool created the endpoint. The Developers page lists endpoints by source. Endpoints made on the Developers page read back as app, which cannot be sent.
labelstringA name for the endpoint, such as "Run finished (Zap 123)".

Answers

201The endpoint, with its secret.
400validation_failed (details.fields lists each problem), idempotency_key_required or unknown_mode. Error
401missing_api_key or invalid_api_key. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error
409endpoint_limit: the account has reached its cap of webhook endpoints. Error

Example

curl -X POST https://api.humanblended.com/v1/webhooks \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/hooks/humanblend","events":["job.succeeded"]}'

PATCH /webhooks/{id}

Update a webhook endpoint scope webhooks

Change the URL or events, or turn the endpoint on or off. Setting enabled to true clears a failure switch-off.

Parameters

NameInTypeDescription
id requiredpathstring

Body

FieldTypeDescription
urlstring
eventsarray of WebhookEvent
enabledboolean

Answers

200The endpoint. WebhookEndpoint
400validation_failed (details.fields lists each problem), idempotency_key_required or unknown_mode. Error
401missing_api_key or invalid_api_key. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error
404not_found. Error

Example

curl -X PATCH https://api.humanblended.com/v1/webhooks/ID \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

DELETE /webhooks/{id}

Delete a webhook endpoint scope webhooks

Parameters

NameInTypeDescription
id requiredpathstring

Answers

204Deleted.
401missing_api_key or invalid_api_key. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error
404not_found. Error

Example

curl -X DELETE https://api.humanblended.com/v1/webhooks/ID \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY"

POST /webhooks/{id}/rotate

Rotate a signing secret scope webhooks

Returns a new secret, shown once. The old secret keeps signing beside it for 24 hours, so you can switch over without losing events.

Parameters

NameInTypeDescription
id requiredpathstring

Answers

200The endpoint, with its new secret.
401missing_api_key or invalid_api_key. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error
404not_found. Error

Example

curl -X POST https://api.humanblended.com/v1/webhooks/ID/rotate \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY"

POST /webhooks/{id}/test

Send a test event scope webhooks

Sends a webhook.test event to the endpoint now.

Parameters

NameInTypeDescription
id requiredpathstring

Answers

202The test delivery. WebhookDelivery
401missing_api_key or invalid_api_key. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error
404not_found. Error

Example

curl -X POST https://api.humanblended.com/v1/webhooks/ID/test \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY"

GET /webhooks/{id}/deliveries

List deliveries scope webhooks

The endpoint's deliveries of the last 30 days, newest first, up to 50.

Parameters

NameInTypeDescription
id requiredpathstring

Answers

200The deliveries.
401missing_api_key or invalid_api_key. Error
403plan_required (the account has no plan; details.plans_url opens the plan choice and details.trial says whether the card trial is open), insufficient_scope, account_frozen or api_not_available. Error
404not_found. Error

Example

curl https://api.humanblended.com/v1/webhooks/ID/deliveries \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY"

Objects

The shapes the API returns and accepts. New fields can appear at any time: ignore fields you do not know.

Error

FieldTypeDescription
error requiredstringA sentence you can show to a person.
code requiredstringStable. Branch on this
detailsobject
request_idstringQuote this when you contact support.

Format

markdown keeps headings, lists, links and code as they are. Default text.

One of text, markdown, .

Spelling

Which English spelling to use. auto follows the text.

One of us, gb, auto, .

Seo

Also optimize the text for a search keyword. Uses one of the account's SEO articles (GET /account shows how many are left) and takes longer.

FieldTypeDescription
keyword requiredstring
locationstringDefault United States.
keywordsarray of stringSecondary keywords.

JobStatus

One of queued, processing, succeeded, failed, cancelled, expired.

Score

FieldTypeDescription
score requiredinteger or nullThe AI score
verdict requiredhuman | mixed | ai or null
label requiredstring or nullA sentence for the score, such as "Likely human".
status requireddone | pending | unavailablepending: still reading. unavailable: the check could not read the text.

Scores

The two AI checks. A quality reading to review the text with, not a guarantee about how any other tool will judge it.

FieldTypeDescription
standardScore or null
strictScore or null

Job

FieldTypeDescription
id requiredstring
object requiredjob
status requiredJobStatus
modestring or nullAlways default.
words requiredinteger
credits_held requiredinteger
credits_charged requiredinteger or null
created_at requiredstring
finished_at requiredstring or null
source requiredstringapi, mcp or app.
batch_id requiredstring or null
metadata requiredMetadataUp to 10 labels of your own, keys up to 40 characters, values up to 200. They come back on the run and in webhooks.
scores requiredScores or null
error requiredobject or null
content_deleted requiredbooleanThe text has been deleted (by you or by retention).
callback_urlset or nullset when the run has a callback URL, else null. The URL is never shown.
warningsarray of objectWhat about the text may affect the result without stopping the run.

JobWithText

FieldTypeDescription
id requiredstring
object requiredjob
status requiredJobStatus
modestring or nullAlways default.
words requiredinteger
credits_held requiredinteger
credits_charged requiredinteger or null
created_at requiredstring
finished_at requiredstring or null
source requiredstringapi, mcp or app.
batch_id requiredstring or null
metadata requiredMetadataUp to 10 labels of your own, keys up to 40 characters, values up to 200. They come back on the run and in webhooks.
scores requiredScores or null
error requiredobject or null
content_deleted requiredbooleanThe text has been deleted (by you or by retention).
callback_urlset or nullset when the run has a callback URL, else null. The URL is never shown.
warningsarray of objectWhat about the text may affect the result without stopping the run.
outputstring or nullThe finished text
output_wordsinteger or null
formattext | markdown
spellingobject or null

Detection

FieldTypeDescription
id requiredstring
object requireddetection
status requiredstring
words requiredinteger
credits requiredinteger
created_at requiredstring
finished_at requiredstring or null
scores requiredScoresThe two AI checks. A quality reading to review the text with, not a guarantee about how any other tool will judge it.
error requiredobject or null
callback_urlset or nullset when the check has a callback URL, else null.

Batch

FieldTypeDescription
id requiredstring
object requiredbatch
status requiredstring
documents requiredinteger
counts requiredobjectHow many documents are in each status.
credits_held requiredinteger
credits_charged requiredinteger
created_at requiredstring
finished_at requiredstring or null
source requiredstring
metadata requiredMetadataUp to 10 labels of your own, keys up to 40 characters, values up to 200. They come back on the run and in webhooks.
callback_urlset or nullset when the batch has a callback URL, else null.

Estimate

FieldTypeDescription
objectestimate
modestring
wordsinteger
creditsinteger
allowedboolean
availableinteger
short_byinteger
reasonsarray of string

Account

FieldTypeDescription
objectaccount
idstring
planobject
plan_requiredbooleanTrue when the account has no plan. With no plan, plan is { kind: "none", code: null, name: "None" } (or { kind: "free", code: "free_run", name: "Free run (in the app)" } while the app's free run is unused). Only GET /account, POST /estimate, GET /plans, POST /checkout and POST /billing/portal work then.
plans_urlstringOpens the plan choice in the app (the plans section of Usage).
creditsobject
seo_articlesinteger
limitsobject
keyobject

TrialOffer

FieldTypeDescription
available requiredbooleanWhether this account can start the card trial. False when the trial is off, the account had a subscription, or the key was made by a member.
days requiredinteger
credits requiredinteger or nullThe trial's credits; null when the terms are a share of the plan.

Plan

FieldTypeDescription
code requiredstring
name requiredstring
interval requiredmonth | year
price_cents requiredintegerThe price for one interval
currency requiredstring
credits_per_month requiredinteger
max_words_per_run requiredinteger
runs_at_once requiredinteger

WebhookEvent

One of job.succeeded, job.failed, job.cancelled, detection.completed, batch.completed, credits.low.

WebhookEndpoint

FieldTypeDescription
id requiredstring
url requiredstring
events requiredarray of WebhookEvent
enabled requiredboolean
disabled_reasonstring or null
created_at requiredstring
rotated_atstring or null
failing_sincestring or null
sourcezapier | make | n8n | api | appWhere the endpoint was made. app is the Developers page.
labelstring or null

WebhookDelivery

FieldTypeDescription
idstring
eventstring
object_idstring
statusstringpending, delivered or failed.
attemptsinteger
last_status_codeinteger or null
last_errorstring or null
created_atstring
delivered_atstring or null
next_attempt_atstring or null