canonical: https://jentic.com/apis/presalytics.io/presalytics

# Presalytics Doc Converter

The Presalytics Doc Converter API turns PowerPoint and other OpenXml or OpenOffice documents into SVG vector images. You upload the file as a multipart form field named file, and the response returns a blob_name and a blob_url pointing at the converted SVG. Invalid file types are rejected with a 415 response, so a caller can tell a bad upload from a server error.

## For AI agents

Upload a PPTX or other OpenXml or OpenOffice document and get back a URL to the converted SVG vector image.

## Scope

Does not handle PDF output, OCR text extraction, or raster image formats such as PNG. Use for converting office documents to SVG vector images only.

## Capabilities

- Convert an uploaded PPTX slide deck into an SVG vector image
- Accept OpenXml and OpenOffice documents as a multipart file upload
- Return a blob_url and blob_name pointing at the hosted SVG result
- Flag unsupported uploads with a 415 invalid file type response

## Use cases

### Agent-Driven Slide Conversion

An AI agent connected through Jentic receives a PowerPoint file in a chat or a shared folder, uploads it to the Doc Converter API, and returns the blob_url of the SVG so the user can drop the vector image into a page or a design tool. Because the API answers a bad upload with a 415 invalid file type response, the agent can tell the user the file format is wrong instead of retrying blindly.

Example prompt: Upload the file quarterly-review.pptx to the svgconvert operation and return the blob_url of the resulting SVG

### Web Embedding of Presentation Content

A documentation site or internal portal shows slide content inline without a document viewer plugin. Each deck is converted to SVG by the Doc Converter API, and the returned blob_url is referenced from the page, so the slide renders sharply at any screen size and zoom level.

Example prompt: Convert a product-roadmap.pptx upload to SVG and write the returned blob_url into the page template

### Report Generation Pipeline

A reporting pipeline that assembles PDFs or HTML reports pulls charts and diagrams authored in PowerPoint. Converting them to SVG first keeps the graphics as vectors through the rest of the pipeline, so they can be scaled or restyled without rasterization artifacts. The blob_name in each response gives the pipeline a stable key for the converted asset.

Example prompt: Convert charts.pptx to SVG and record the blob_name and blob_url for the report build step

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/svgconvert` | Convert an uploaded document to an SVG image |

## Key resources

- **SVG conversion** — Multipart file upload in, blob_name and blob_url of the SVG out

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 73 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 100 / 100
  - Developer Experience & Jentic Compatibility: 63 / 100
  - AI-Readiness & Agent Experience: 49 / 100
  - Agent Usability: 94 / 100
  - Security: 100 / 100
  - AI Discoverability: 100 / 100
- **View full report:** https://jentic.com/apis/presalytics.io/presalytics/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring the Doc Converter API by hand means building a multipart upload to the svgconvert operation at api.presalytics.io/doc-converter and parsing the blob_url out of the response. Through Jentic you install once, import the Doc Converter from the API Directory, and your agent calls it, with no credential to manage because the spec declares no authentication.
- **Permission scoping:** The Doc Converter exposes one operation, svgconvert, and the document travels in the request body, so scoping is by operation rather than by resource. A rule bounds your agent to that conversion call through this connection.
- **Credential handling:** This spec declares no authentication, so there is nothing to store today. If a credential is ever required, it is stored once, encrypted, by your own Jentic One instance and injected at execution time, never entering the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'convert a pptx file to svg', and Jentic returns the svgconvert operation with its multipart input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **ConvertAPI** — ConvertAPI converts between many document and image formats, a broader surface than the single PPTX-to-SVG path.
- **CloudConvert** — CloudConvert runs file conversion jobs across a wide range of document, image, and media formats.
- **Cloudmersive OCR** — Cloudmersive OCR extracts text from documents and images, while the Doc Converter API produces the visual SVG rendering.

## FAQ

### What authentication does the Doc Converter API use?

The Doc Converter OpenAPI spec declares no security scheme for the svgconvert operation, so requests are sent without an API key or token per the spec. If Presalytics adds access control later, a credential would be stored encrypted by your own Jentic One instance and injected at call time, never entering the agent's context.

### What does the Doc Converter API return after a conversion?

A successful conversion returns a JSON object with a blob_name and a blob_url, where the URL points at the converted SVG file. A 400 response indicates a malformed request, and a 415 response means the uploaded file type is not supported.

### What are the rate limits for the Doc Converter API?

The OpenAPI spec does not specify rate limits. Check http://presalytics.io for current usage terms before running large batches of conversions.

### Is there a Doc Converter MCP server?

You don't need an MCP server to give your agent the Doc Converter API. Jentic connects it directly from the API Directory: import it, and your agent calls the svgconvert operation, with no extra server's tool definitions loaded into its context.

### Can I limit what my agent is allowed to do with the Doc Converter API?

Yes. Write a rule that allows the single svgconvert operation, and the agent can upload documents for SVG conversion and do nothing else through this connection. Every call it makes is logged, so you can see which files it converted.

### How do I convert a PowerPoint file to SVG with the Doc Converter API through Jentic?

Import the Doc Converter API from the Jentic API Directory and have your agent search Jentic for 'convert a pptx file to svg'. Jentic returns the svgconvert operation with its multipart input schema, so the agent uploads the document in the file field and reads the blob_url from the response. To run it on your own infrastructure, install Jentic One from its GitHub repo.
