naftiko: 1.0.0-alpha2 info: label: PDF.co Pages API description: PDF.co Pages API. Delete, rotate, and AI auto-rotate PDF pages. tags: - PDF.co - Pages created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: PDFCO_API_KEY: PDFCO_API_KEY capability: consumes: - type: http namespace: pages baseUri: https://api.pdf.co resources: - name: edit-delete-pages path: /v1/pdf/edit/delete-pages operations: - {name: deletePages, method: POST, description: Delete pages by range or index, outputRawFormat: json, inputParameters: [{name: body, in: body, type: object, required: true}]} - name: edit-rotate path: /v1/pdf/edit/rotate operations: - {name: rotatePages, method: POST, description: Rotate pages by degrees, outputRawFormat: json, inputParameters: [{name: body, in: body, type: object, required: true}]} - name: edit-rotate-auto path: /v1/pdf/edit/rotate/auto operations: - {name: autoRotate, method: POST, description: AI auto-rotate pages, outputRawFormat: json, inputParameters: [{name: body, in: body, type: object, required: true}]} authentication: type: apikey key: x-api-key value: '{{env.PDFCO_API_KEY}}' placement: header