REST API · v1

SciVue REST API

Generate figures, run compliance checks, build pathway diagrams, and search 50K+ icons programmatically. Drop SciVue into your publisher pipeline, LIMS, LMS, or CI workflow.

Base URL: https://api.scivue.live/v1Auth: Authorization: Bearer … or X-API-Key Get your API key

1. Get a key

Go to Settings → API Keys and create one. You'll see it once — store it securely.

2. Make a request

All endpoints accept JSON and return JSON. Async jobs return a job_id — poll /figures/{job_id}.

3. Or use webhooks

Register a URL to receive HMAC-SHA256 signed callbacks the moment a job completes — no polling needed.

Rate limits

Free
10 / day
Student
100 / day
Individual
500 / day
Lab
2,000 / day
Institution
Unlimited

Responses include X-RateLimit-Limit and X-RateLimit-Remaining. Limits reset at 00:00 UTC.

Examples in:
POST/figures/generate— Generate a figure

Request

curl -X POST "https://api.scivue.live/v1/figures/generate" \
  -H "Authorization: Bearer $SCIVUE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prompt": "Schematic of the JAK/STAT pathway in T cells",
  "type": "figure",
  "style": "Nature",
  "journal_preset": "Nature Methods"
}'

Response (example)

{
  "job_id": "uuid",
  "status": "queued",
  "poll_url": "/api/public/v1/figures/{job_id}"
}
GET/figures/{job_id}— Poll job status

Request

curl -X GET "https://api.scivue.live/v1/figures/JOB_ID" \
  -H "Authorization: Bearer $SCIVUE_API_KEY" \
  -H "Content-Type: application/json"

Response (example)

{
  "job_id": "uuid",
  "status": "succeeded",
  "output": {
    "svg_url": "https://…",
    "png_url": "https://…"
  }
}
POST/figures/{id}/export— Export a finished figure

Request

curl -X POST "https://api.scivue.live/v1/figures/JOB_ID/export" \
  -H "Authorization: Bearer $SCIVUE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "format": "pdf",
  "dpi": 600
}'

Response (example)

{
  "download_url": "https://…",
  "expires_in_seconds": 3600
}
POST/compliance/check— Run journal compliance check

Request

curl -X POST "https://api.scivue.live/v1/compliance/check" \
  -H "Authorization: Bearer $SCIVUE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "figure_job_id": "uuid",
  "journal": "Cell"
}'

Response (example)

{
  "job_id": "uuid",
  "status": "queued"
}
POST/abstracts/generate— Generate graphical abstract from text

Request

curl -X POST "https://api.scivue.live/v1/abstracts/generate" \
  -H "Authorization: Bearer $SCIVUE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "abstract_text": "Background: ... Methods: ... Results: ... Conclusion: ...",
  "style": "minimal"
}'

Response (example)

{
  "job_id": "uuid",
  "status": "queued"
}
POST/pathways/generate— Generate pathway diagram from gene list

Request

curl -X POST "https://api.scivue.live/v1/pathways/generate" \
  -H "Authorization: Bearer $SCIVUE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "gene_list": [
    "TP53",
    "MDM2",
    "ATM",
    "CDKN1A"
  ],
  "organism": "Homo sapiens",
  "database": "reactome"
}'

Response (example)

{
  "job_id": "uuid",
  "status": "queued"
}
GET/icons/search?q=mitochondrion&type=icon&limit=20— Search icons & databases

Request

curl -X GET "https://api.scivue.live/v1/icons/search?q=mitochondrion&type=icon&limit=20" \
  -H "Authorization: Bearer $SCIVUE_API_KEY" \
  -H "Content-Type: application/json"

Response (example)

{
  "count": 20,
  "items": [
    "…"
  ]
}
GET/templates— List figure templates

Request

curl -X GET "https://api.scivue.live/v1/templates" \
  -H "Authorization: Bearer $SCIVUE_API_KEY" \
  -H "Content-Type: application/json"

Response (example)

{
  "count": 24,
  "templates": [
    "…"
  ]
}
POST/webhooks— Register a webhook

Request

curl -X POST "https://api.scivue.live/v1/webhooks" \
  -H "Authorization: Bearer $SCIVUE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://your-app.com/scivue",
  "events": [
    "figure.completed"
  ]
}'

Response (example)

{
  "webhook": {
    "id": "uuid"
  },
  "secret": "whsec_…",
  "signature_header": "x-scivue-signature"
}

Official SDKs

Python
pip install scivue

Coming soon to PyPI. Until then, use requests directly.

JavaScript / TypeScript
npm install scivue

Coming soon to npm. Until then, use fetch directly.

Questions? api@scivue.live · See also: API Keys