The Article API lets you generate article drafts and summaries of scientific papers from code, and check their status.

Base URL: https://api.prosecaptain.com/api/generate

Token

Every request needs the workspace token in the token parameter:

POST https://api.prosecaptain.com/api/generate/draft?token=YOUR_TOKEN

Find the token in the app: Profile → Security tab → Security Credentials card (Show button). It is the same token as in the widget code.

Treat the token like a password: use it on your server only, never in browser code.

Limits

  • All endpoints: 100 requests per 15 minutes per IP address.
  • AI generation (drafts, summaries): 10 requests per minute.
  • Maximum request size: 10 MB.
  • Long operations can take up to 3 minutes. Set your client timeout to at least 180 seconds.

Common fields

FieldDefaultDescription
keywords—Keywords: an array or a comma-separated string.
toneOfVoiceprofessionalWriting style, e.g. professional, casual, formal.
complexitymoderateReading level: simple, moderate, complex, or a number (fog index).
languageenglishpolish/pl, english/en, german/de, french/fr.
contentTypeblogpostContent type.