Web API Documentation
v0.12.19
Alpha Release — API endpoints and rate limits are provisional.
Campaign API Key:
Campaign API Key:
scitex-cloud-campaign-20260101-20261231-alpha
✍️ Writer API
Writer: Sections
Read and update LaTeX manuscript sections programmatically.
Get Section Content
GET
/apps/writer/api/project/{project_id}/section/{section_name}/
curl "https://scitex.ai/apps/writer/api/project/123/section/introduction/" \
-H "Authorization: Bearer YOUR_TOKEN"
Response
{
"section": "introduction",
"content": "\\section{Introduction}\n\nDeep learning has revolutionized...",
"word_count": 1250,
"last_modified": "2024-01-15T10:30:00Z"
}
Update Section
PUT
/apps/writer/api/project/{project_id}/section/{section_name}/
curl -X PUT "https://scitex.ai/apps/writer/api/project/123/section/introduction/" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"content": "\\section{Introduction}\n\nUpdated content here..."}'
Writer: Compilation
Compile your LaTeX manuscript to PDF.
Compile Full Document
POST
/apps/writer/api/project/{project_id}/compile_full/
curl -X POST "https://scitex.ai/apps/writer/api/project/123/compile_full/" \
-H "Authorization: Bearer YOUR_TOKEN"
Response
{
"success": true,
"job_id": "compile-abc123",
"status": "completed",
"pdf_url": "/apps/writer/api/project/123/preview-pdf/",
"compile_time": "3.2s"
}
Writer: Version Control
Track changes and manage versions of your manuscript.
GET
/apps/writer/api/project/{id}/git/status/
Get current git status
GET
/apps/writer/api/project/{id}/git/history/
List commit history
POST
/apps/writer/api/project/{id}/git/commit/
Create a new commit
GET
/apps/writer/api/project/{id}/git/diff/
View uncommitted changes
Example: Commit Changes
curl -X POST "https://scitex.ai/apps/writer/api/project/123/git/commit/" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"message": "Updated methodology section with new analysis"}'