# API reference (/docs/api)

Use the API to submit documents, read their content, and search from your application. Each endpoint below includes its parameters, response fields, and examples.

For a complete integration example, start with [Use HTTP](/docs/http). If you're using Node.js, the [SDK quickstart](/docs/sdk-quickstart) handles file submission and waiting for the result.

## Uploads [#uploads]

- [Create an upload](/docs/api/uploads/createUpload) to get a destination for your file.
- [Confirm an upload](/docs/api/uploads/confirmUpload) to start processing once the file is uploaded.

## Jobs [#jobs]

- [Get job status](/docs/api/jobs/getJob) to check processing progress and result availability.
- [Get a job result](/docs/api/jobs/getJobResult) to retrieve the document's content.

## Documents [#documents]

- [List documents](/docs/api/documents/listDocuments) to find retained documents using your external identifiers or category filters.
- [Get a document](/docs/api/documents/getDocument) to read its current status, metadata, and classification.
- [Get a document result](/docs/api/documents/getDocumentResult) to retrieve available content by Document ID.
- [Get a document page](/docs/api/documents/getDocumentPage) to read one page and access its source image.
- [Search documents or pages](/docs/api/documents/searchDocuments) to find content across a workspace or within one document.

## Classification [#classification]

- [Classify a retained document](/docs/api/classification/createClassification) with your criteria or saved workspace defaults.
- [Get classification status and result](/docs/api/classification/getClassification) to follow that request until it completes or fails.

For the portal result states, see [Read results](/docs/results#classification-results).

## Authentication [#authentication]

Include your API key in the `Authorization` header as `Bearer <api_key>`. Each endpoint lists the permission it requires. See [API keys](/docs/api-keys) for setup.

For tools that consume OpenAPI, [download the specification](https://api.pagelet.ai/openapi.json).
