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

# Restpack API

RESTful microservices for screenshot capture and HTML to PDF conversion. Provides Screenshot API (v7) for capturing webpage screenshots and HTML to PDF API (v7) for converting web content to PDF documents. The API exposes 6 endpoints secured with apiKey authentication.

## For AI agents

Programmatically capture screenshot via request body, capture screenshot via query parameters. Covers 6 operations with apiKey authentication.

## Scope

Does not handle payments, communications, or crm - use for developer tools only.

## Capabilities

- Capture screenshot via request body
- Get screenshot API usage statistics
- Convert to PDF via request body
- Query and filter Restpack API records by parameters
- Monitor Restpack API operational status and events

## Use cases

### Developer Tools Operations

Use the Restpack API to perform developer tools operations programmatically. The API provides 6 endpoints covering core functionality including capture screenshot via request body, capture screenshot via query parameters, get screenshot API usage statistics.

Example prompt: Call POST `/screenshot/v7/capture` to capture screenshot via request body

### Automated Screenshot Management

Automate screenshot operations by combining multiple Restpack API endpoints. Agents can capture screenshot via query parameters and then get screenshot API usage statistics in a single workflow.

Example prompt: Call GET `/screenshot/v7/capture` to capture screenshot via query parameters, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call Restpack API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey tokens manually.

Example prompt: Search Jentic for 'capture screenshot via request body', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/screenshot/v7/capture` | Capture screenshot via request body |
| GET | `/screenshot/v7/capture` | Capture screenshot via query parameters |
| GET | `/screenshot/v7/usage` | Get screenshot API usage statistics |
| POST | `/html2pdf/v7/convert` | Convert to PDF via request body |
| GET | `/html2pdf/v7/convert` | Convert to PDF via query parameters |
| GET | `/html2pdf/v7/usage` | Get HTML to PDF API usage statistics |

## Key resources

- **Screenshot** — Screenshot capture operations
- **HTML to PDF** — HTML to PDF conversion operations

## 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:** 62 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 99 / 100
  - Developer Experience & Jentic Compatibility: 61 / 100
  - AI-Readiness & Agent Experience: 54 / 100
  - Agent Usability: 94 / 100
  - Security: 33 / 100
  - AI Discoverability: 83 / 100
- **View full report:** https://jentic.com/apis/restpack.io/restpack/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 Restpack API by hand means passing your API key, targeting the restpack.io/api host, and driving screenshot and HTML-to-PDF conversions yourself. Through Jentic you install once, import Restpack API from the API Directory, store the key once, and your agent calls it.
- **Permission scoping:** Restpack API takes the target URL and options in the request body rather than a resource id in the URL path. Limit the agent to the operations it needs, such as capturing a screenshot or converting HTML to PDF, so it works within the operations you approve.
- **Credential handling:** Your Restpack API key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'capture a screenshot of a page' or 'convert HTML to PDF', and Jentic returns the matching Restpack API operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Github** — Alternative developer tools API
- **Gitlab** — Alternative developer tools API

## FAQ

### What authentication does the Restpack API use?

The Restpack API uses an API key passed in the `X-Access-Token` header. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I capture screenshot via request body with the Restpack API?

Yes. Use the POST `/screenshot/v7/capture` endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the Restpack API?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I capture screenshot via request body through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'capture screenshot via request body'. Jentic returns the matching Restpack API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the Restpack API have?

The Restpack API exposes 6 endpoints covering screenshot, html to pdf operations.

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

Yes. Because Jentic One is self-hosted and its rules are set by you, you decide which Restpack operations the agent may call. You can allow only screenshot capture (POST or GET `/screenshot/v7/capture`) while blocking HTML-to-PDF conversion (`/html2pdf/v7/convert`), or restrict it to usage-statistics reads. Since Restpack takes the target URL and options in the request body rather than a resource id in the path, the agent works only within the operations and stored API key you approve.
