---
title: "Creates a new PDFExport object and starts a task that will generate the file"
method: POST
path: "/analyses/{username}/{project_slug}/{analysis_slug}/pdf"
tags: ["Analysis"]
---

# Creates a new PDFExport object and starts a task that will generate the file

`POST /analyses/{username}/{project_slug}/{analysis_slug}/pdf`

Creates a new PDFExport object and starts a task that will generate the file. Returns the model id that manages the task

## Query parameters

- `area` string
- `sections` string[]

## Request body

- UrlsFilter
  - `filters` object

## Response `201`

Successful operation

- PdfExportStatus
  - `job_id` string
  - `job_url` string
  - `job_status` string
  - `results` string
  - `filters` object
  - `area` string
  - `sections` string
  - `date_created` string, date-time

## Other responses

- `default` — error payload

## Changes

- **2016-02-12** `8d69afa64f1a` — 1 warning, 1 info
  - deleted the `query` request parameter `section`
  - added the new optional `query` request parameter `sections`
- **2016-01-11** `62465db12f9c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/botify-labs/apis/botify-api/changes/analyses/:username/:project_slug/:analysis_slug/pdf/post.md)

---

[API](https://skmtc.dev/botify-labs/apis/botify-api.md) · [All operations](https://skmtc.dev/botify-labs/apis/botify-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/botify-labs/botify-api/revisions/8d69afa64f1a/schema)
