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
200 | The account. Account |
401 | missing_api_key or invalid_api_key. Error |
429 | rate_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
| Field | Type | Description |
|---|---|---|
text required | Text | The text. Your plan's words-per-run limit applies. |
format | Format | markdown keeps headings, lists, links and code as they are. Default text. |
Answers
200 | The estimate. Estimate |
400 | validation_failed (details.fields lists each problem), idempotency_key_required or unknown_mode. Error |
401 | missing_api_key or invalid_api_key. Error |
429 | rate_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
200 | The plans. |
401 | missing_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
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string | 8 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
| Field | Type | Description |
|---|---|---|
plan required | string | A plan code from GET /plans. |
interval required | month | year |
Answers
201 | The checkout link. |
400 | validation_failed (details.fields lists each problem), idempotency_key_required or unknown_mode. Error |
401 | missing_api_key or invalid_api_key. Error |
403 | plan_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 |
409 | plan_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
201 | The portal link. |
401 | missing_api_key or invalid_api_key. Error |
403 | plan_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 |
409 | no_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
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string | 8 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
| Field | Type | Description |
|---|---|---|
text required | Text | The text. Your plan's words-per-run limit applies. |
format | Format | markdown keeps headings, lists, links and code as they are. Default text. |
spelling | Spelling | Which English spelling to use. auto follows the text. |
metadata | Metadata | Up to 10 labels of your own, keys up to 40 characters, values up to 200. They come back on the run and in webhooks. |
seo | 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. |
callback_url | CallbackUrl | An 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 Deprecated | string | Optional and ignored. default, one, standard and ultra are accepted and run the same engine; any other value is 400 unknown_mode. |
Answers
200 | The same Idempotency-Key and text as an earlier call; the first run is returned instead of a second one. Job |
202 | The run was accepted. Retry-After says when to look again. Job |
400 | validation_failed (details.fields lists each problem), idempotency_key_required or unknown_mode. Error |
401 | missing_api_key or invalid_api_key. Error |
402 | insufficient_credits (details.needed, available, short_by) or key_cap_reached. Error |
403 | plan_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 |
409 | idempotency_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 |
422 | text_too_short, text_too_long, too_many_characters or batch_invalid (details.problems by position). Error |
429 | rate_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
| Name | In | Type | Description |
|---|---|---|---|
status | query | JobStatus | |
since | query | string | Only runs created at or after this time. |
limit | query | integer | |
cursor | query | string | next_cursor from the previous page. |
Answers
200 | A page of runs. |
401 | missing_api_key or invalid_api_key. Error |
403 | plan_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 |
429 | rate_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
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string |
Answers
200 | The run. JobWithText |
401 | missing_api_key or invalid_api_key. Error |
403 | plan_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 |
404 | not_found. Error |
429 | rate_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
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string |
Answers
200 | The run, now cancelled (or already finished). Job |
401 | missing_api_key or invalid_api_key. Error |
403 | plan_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 |
404 | not_found. Error |
429 | rate_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
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string |
Answers
204 | Deleted. |
401 | missing_api_key or invalid_api_key. Error |
403 | plan_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 |
404 | not_found. Error |
429 | rate_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
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string | 8 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
| Field | Type | Description |
|---|---|---|
text required | Text | The text. Your plan's words-per-run limit applies. |
format | Format | markdown keeps headings, lists, links and code as they are. Default text. |
callback_url | CallbackUrl | An 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
200 | The check is done. Detection |
202 | The check was accepted and is still running. Detection |
400 | validation_failed (details.fields lists each problem), idempotency_key_required or unknown_mode. Error |
401 | missing_api_key or invalid_api_key. Error |
402 | insufficient_credits (details.needed, available, short_by) or key_cap_reached. Error |
403 | plan_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 |
409 | idempotency_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 |
422 | text_too_short, text_too_long, too_many_characters or batch_invalid (details.problems by position). Error |
429 | rate_limited or concurrency_limit. Retry-After says when to try again. Error |
503 | auth_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
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string |
Answers
200 | The check. Detection |
401 | missing_api_key or invalid_api_key. Error |
403 | plan_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 |
404 | not_found. Error |
429 | rate_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
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string | 8 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
| Field | Type | Description |
|---|---|---|
documents required | array of object | |
metadata | Metadata | Up 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_url | CallbackUrl | An 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
200 | The same Idempotency-Key and body as an earlier call; the first batch is returned. Batch |
202 | The batch was accepted. Batch |
400 | validation_failed (details.fields lists each problem), idempotency_key_required or unknown_mode. Error |
401 | missing_api_key or invalid_api_key. Error |
402 | insufficient_credits (details.needed, available, short_by) or key_cap_reached. Error |
403 | plan_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 |
409 | idempotency_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 |
422 | text_too_short, text_too_long, too_many_characters or batch_invalid (details.problems by position). Error |
429 | rate_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
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string |
Answers
200 | The batch. Batch |
401 | missing_api_key or invalid_api_key. Error |
403 | plan_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 |
404 | not_found. Error |
429 | rate_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
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string | |
limit | query | integer | |
cursor | query | string | next_cursor from the previous page. |
Answers
200 | A page of documents. |
401 | missing_api_key or invalid_api_key. Error |
403 | plan_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 |
404 | not_found. Error |
429 | rate_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
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string |
Answers
200 | The batch, with how many documents were cancelled. |
401 | missing_api_key or invalid_api_key. Error |
403 | plan_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 |
404 | not_found. Error |
429 | rate_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
200 | Your endpoints. |
401 | missing_api_key or invalid_api_key. Error |
403 | plan_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
| Field | Type | Description |
|---|---|---|
url required | string | |
events required | array of WebhookEvent | |
source | zapier | make | n8n | api | Which 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. |
label | string | A name for the endpoint, such as "Run finished (Zap 123)". |
Answers
201 | The endpoint, with its secret. |
400 | validation_failed (details.fields lists each problem), idempotency_key_required or unknown_mode. Error |
401 | missing_api_key or invalid_api_key. Error |
403 | plan_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 |
409 | endpoint_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
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string |
Body
| Field | Type | Description |
|---|---|---|
url | string | |
events | array of WebhookEvent | |
enabled | boolean |
Answers
200 | The endpoint. WebhookEndpoint |
400 | validation_failed (details.fields lists each problem), idempotency_key_required or unknown_mode. Error |
401 | missing_api_key or invalid_api_key. Error |
403 | plan_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 |
404 | not_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
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string |
Answers
204 | Deleted. |
401 | missing_api_key or invalid_api_key. Error |
403 | plan_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 |
404 | not_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
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string |
Answers
200 | The endpoint, with its new secret. |
401 | missing_api_key or invalid_api_key. Error |
403 | plan_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 |
404 | not_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
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string |
Answers
202 | The test delivery. WebhookDelivery |
401 | missing_api_key or invalid_api_key. Error |
403 | plan_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 |
404 | not_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
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string |
Answers
200 | The deliveries. |
401 | missing_api_key or invalid_api_key. Error |
403 | plan_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 |
404 | not_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
| Field | Type | Description |
|---|---|---|
error required | string | A sentence you can show to a person. |
code required | string | Stable. Branch on this |
details | object | |
request_id | string | Quote 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.
| Field | Type | Description |
|---|---|---|
keyword required | string | |
location | string | Default United States. |
keywords | array of string | Secondary keywords. |
JobStatus
One of queued, processing, succeeded, failed, cancelled, expired.
Score
| Field | Type | Description |
|---|---|---|
score required | integer or null | The AI score |
verdict required | human | mixed | ai or null | |
label required | string or null | A sentence for the score, such as "Likely human". |
status required | done | pending | unavailable | pending: 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.
| Field | Type | Description |
|---|---|---|
standard | Score or null | |
strict | Score or null |
Job
| Field | Type | Description |
|---|---|---|
id required | string | |
object required | job | |
status required | JobStatus | |
mode | string or null | Always default. |
words required | integer | |
credits_held required | integer | |
credits_charged required | integer or null | |
created_at required | string | |
finished_at required | string or null | |
source required | string | api, mcp or app. |
batch_id required | string or null | |
metadata required | Metadata | Up 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 required | Scores or null | |
error required | object or null | |
content_deleted required | boolean | The text has been deleted (by you or by retention). |
callback_url | set or null | set when the run has a callback URL, else null. The URL is never shown. |
warnings | array of object | What about the text may affect the result without stopping the run. |
JobWithText
| Field | Type | Description |
|---|---|---|
id required | string | |
object required | job | |
status required | JobStatus | |
mode | string or null | Always default. |
words required | integer | |
credits_held required | integer | |
credits_charged required | integer or null | |
created_at required | string | |
finished_at required | string or null | |
source required | string | api, mcp or app. |
batch_id required | string or null | |
metadata required | Metadata | Up 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 required | Scores or null | |
error required | object or null | |
content_deleted required | boolean | The text has been deleted (by you or by retention). |
callback_url | set or null | set when the run has a callback URL, else null. The URL is never shown. |
warnings | array of object | What about the text may affect the result without stopping the run. |
output | string or null | The finished text |
output_words | integer or null | |
format | text | markdown | |
spelling | object or null |
Detection
| Field | Type | Description |
|---|---|---|
id required | string | |
object required | detection | |
status required | string | |
words required | integer | |
credits required | integer | |
created_at required | string | |
finished_at required | string or null | |
scores required | Scores | The two AI checks. A quality reading to review the text with, not a guarantee about how any other tool will judge it. |
error required | object or null | |
callback_url | set or null | set when the check has a callback URL, else null. |
Batch
| Field | Type | Description |
|---|---|---|
id required | string | |
object required | batch | |
status required | string | |
documents required | integer | |
counts required | object | How many documents are in each status. |
credits_held required | integer | |
credits_charged required | integer | |
created_at required | string | |
finished_at required | string or null | |
source required | string | |
metadata required | Metadata | Up 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_url | set or null | set when the batch has a callback URL, else null. |
Estimate
| Field | Type | Description |
|---|---|---|
object | estimate | |
mode | string | |
words | integer | |
credits | integer | |
allowed | boolean | |
available | integer | |
short_by | integer | |
reasons | array of string |
Account
| Field | Type | Description |
|---|---|---|
object | account | |
id | string | |
plan | object | |
plan_required | boolean | True 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_url | string | Opens the plan choice in the app (the plans section of Usage). |
credits | object | |
seo_articles | integer | |
limits | object | |
key | object |
TrialOffer
| Field | Type | Description |
|---|---|---|
available required | boolean | Whether 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 required | integer | |
credits required | integer or null | The trial's credits; null when the terms are a share of the plan. |
Plan
| Field | Type | Description |
|---|---|---|
code required | string | |
name required | string | |
interval required | month | year | |
price_cents required | integer | The price for one interval |
currency required | string | |
credits_per_month required | integer | |
max_words_per_run required | integer | |
runs_at_once required | integer |
WebhookEvent
One of job.succeeded, job.failed, job.cancelled, detection.completed, batch.completed, credits.low.
WebhookEndpoint
| Field | Type | Description |
|---|---|---|
id required | string | |
url required | string | |
events required | array of WebhookEvent | |
enabled required | boolean | |
disabled_reason | string or null | |
created_at required | string | |
rotated_at | string or null | |
failing_since | string or null | |
source | zapier | make | n8n | api | app | Where the endpoint was made. app is the Developers page. |
label | string or null |
WebhookDelivery
| Field | Type | Description |
|---|---|---|
id | string | |
event | string | |
object_id | string | |
status | string | pending, delivered or failed. |
attempts | integer | |
last_status_code | integer or null | |
last_error | string or null | |
created_at | string | |
delivered_at | string or null | |
next_attempt_at | string or null |