POST /api/v1/decks/generate · scope atava:run
# 1. Generate a deterministic sovereign company brief
curl -X POST https://convexityos.com/api/v1/decks/generate \
-H "Authorization: Bearer $CONVEXITY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"source": "ticker",
"symbol": "NVDA",
"profile": "company_brief"
}'
# 2. Download byte-deterministic PowerPoint with X-Optera-Digest
curl -L https://convexityos.com/api/v1/decks/{deck_id}/export/pptx \
-H "Authorization: Bearer $CONVEXITY_API_KEY" \
-o company-brief.pptx
# 3. Export any sealed report straight to PPTX, HTML deck, DOCX, or XLSX
curl -L https://convexityos.com/api/v1/reports/{report_id}/export/pptx \
-H "Authorization: Bearer $CONVEXITY_API_KEY" \
-o sealed-report.pptx
@convexityos/sdk · client.decks + client.research
import { ConvexityClient } from '@convexityos/sdk';
import { writeFileSync } from 'node:fs';
const client = new ConvexityClient({ apiKey: process.env['CONVEXITY_API_KEY']! });
// Compile a sovereign company briefing with explicit WithheldBlock ledger
const { data: deck } = await client.decks.generate({
source: 'ticker',
symbol: 'NVDA',
profile: 'company_brief',
});
// Download editable PPTX carrying X-Optera-Digest
const pptx = await client.decks.exportDeck(deck.deck_id, 'pptx');
writeFileSync(`${deck.deck_id}.pptx`, pptx.bytes);
// List collaborative Research Drive files (docs, sheets, slides)
const { data: files } = await client.research.listFiles({
made_as: ['slides', 'sheet'],
});
convexity · sync & async client.decks
import os
from pathlib import Path
from convexity import ConvexityClient
client = ConvexityClient(api_key=os.environ["CONVEXITY_API_KEY"])
# Generate a sovereign filing redline deck
env = client.decks.generate(
source="ticker",
symbol="NVDA",
profile="filing_redline",
)
deck = env.data
# Export deterministic PowerPoint or self-contained HTML deck
artifact = client.decks.export(deck.deck_id, "pptx")
Path(f"{deck.deck_id}.pptx").write_bytes(artifact.content)
# Export a persisted sealed report to editable PPTX
report_pptx = client.research.export_report("rpt_01", "pptx")
POST /api/v1/mcp · 6 deck & research file tools
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "generate_deck",
"arguments": {
"source": "ticker",
"symbol": "NVDA",
"profile": "earnings_recap"
}
}
}
// Mounted atava:run tools in the 153-tool MCP catalog:
// generate_deck list_decks get_deck
// export_report_artifact list_research_files create_research_file