# Get stored document trust certificate

> `GET /documents/document-get/{pofid}` · Section: Document AI — DMS · PaperOffice AI API, release `R20261020.2205`.

`GET https://api.paperoffice.ai/latest/documents/document-get/{pofid}`

## Overview

Read the stored Trust Agent certificate (score, verdict, findings with text_excerpt, tags, last run). This is a read — it does not start a scan. New adhoc scan: po_documents_trust_check.

**API reference:** `po-documents-trust-get` (documentation ID; not a `/job/add/` pipeline slug)

**Parameters:**

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `pofid` | string | Yes (path) | PaperOffice File ID |
| `documents_id` | integer | One of (`documents_id`, `pofid`) | Numeric document ID — Alternative to pofid |
| `profile` | string | No | Must be trust_certificate for this read |

## Required alternatives

Provide **at least one** of: `documents_id` **or** `pofid`.

## Responses

Returns JSON with `status: "success"`; most endpoints use top-level fields, jobs use `result` or `job_result`, some account endpoints use `data`. Optional `_billing` and `processing_time`. Errors: HTTP 4xx/5xx with `status: "error"`, `code`, and `message`.

## Essentials (all endpoints)

- **Base URL:** `https://api.paperoffice.ai/latest` · **Auth:** `Authorization: Bearer po_sk_…` or `po_ut_…` (server-side only); browser code uses `po_pk_…` with an allowlisted `Origin`. No Bearer at all on a product API returns HTTP 403 `TIER_RESTRICTED`.
- **Errors:** HTTP 4xx/5xx with `status: "error"`, `code` and `message`. Retry 429 (`Retry-After`) and 5xx with exponential backoff; do not retry validation errors.
- **Jobs:** `client_wait=true` (default) holds the connection. HTTP 202 means the job is still running — poll `GET /job/get/{job_id}` every 5–10 s until `job_status` is `completed`, then read `result ?? job_result`. `processing_lane` sets the Start-SLA; legacy `priority` is not part of the public contract.
- **Billing:** every billable product call costs at least 5 credits; read `_billing.job.credits_billed` on billed responses.
- **Mutations** use `POST` with action paths (e.g. `POST /documents/document-delete`), not HTTP `DELETE`.

---

All endpoints: [llms.txt](https://api.paperoffice.ai/latest/docs/llms.txt) · Everything in one file: [llms-full.txt](https://api.paperoffice.ai/latest/docs/llms-full.txt) · [OpenAPI 3.1](https://api.paperoffice.ai/latest/docs/openapi.json) · This page: https://api.paperoffice.ai/latest/docs/endpoints/po-documents-trust-get.md

*Generated 2026-10-20 from live API documentation (release `R20261020.2205`).*
