---
updatedAt: 2026-04-24T18:36:38.000Z
agentTools:
  projectIndex: https://docs.docupipe.ai/llms.txt
---

# Retrieve a Standardization JSON

Retrieve the standardization results of a document as a JSON object.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "DocuPipe",
    "version": "1.0"
  },
  "paths": {
    "/standardization/{standardization_id}": {
      "get": {
        "summary": "Retrieve a Standardization JSON",
        "operationId": "get_standardization",
        "security": [
          {
            "APIKeyHeader": []
          },
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "standardization_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Standardization Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Standardization"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "description": "Retrieve the standardization results of a document as a JSON object.",
        "tags": [
          "Standardization"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "DisplayMode": {
        "type": "string",
        "enum": [
          "auto",
          "spatial",
          "sections",
          "image"
        ],
        "title": "DisplayMode"
      },
      "ErrorResponse": {
        "properties": {
          "detail": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Detail",
            "description": "Details about the error"
          }
        },
        "type": "object",
        "required": [
          "detail"
        ],
        "title": "ErrorResponse"
      },
      "FieldMetadata": {
        "properties": {
          "page": {
            "type": "integer",
            "title": "Page",
            "description": "1-indexed page of the document this value was extracted from."
          },
          "confidence": {
            "type": "string",
            "title": "Confidence",
            "description": "Confidence in the extracted value and its location on the page: 'high', 'medium' or 'low'."
          },
          "boundingBoxes": {
            "items": {
              "items": {
                "type": "number"
              },
              "type": "array"
            },
            "type": "array",
            "title": "Bounding Boxes",
            "description": "Where this value sits on the page, as [x1, y1, x2, y2] normalized to 0-1 of page width and height, with the origin at the top left."
          }
        },
        "type": "object",
        "title": "FieldMetadata",
        "description": "Public-facing per-field extraction metadata. Anything not declared here stays internal: the stored record\nalso carries how each box was located and why its confidence is what it is, which is our diagnostics rather\nthan something a caller should build on."
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "Standardization": {
        "properties": {
          "standardizationId": {
            "type": "string",
            "title": "Standardization ID",
            "description": "Unique identifier of the standardization object."
          },
          "documentId": {
            "type": "string",
            "title": "Document ID",
            "description": "Unique identifier of the document."
          },
          "data": {
            "additionalProperties": true,
            "type": "object",
            "title": "Standardization Result",
            "description": "The standardized result of the document. This is a structured JSON object."
          },
          "schemaId": {
            "type": "string",
            "title": "Schema ID",
            "description": "Unique identifier of the schema used for standardization."
          },
          "schemaName": {
            "type": "string",
            "title": "Schema Name",
            "description": "Name of the schema used for standardization."
          },
          "jobId": {
            "type": "string",
            "title": "Job ID",
            "description": "Unique identifier of the job that created the standardization."
          },
          "dataset": {
            "type": "string",
            "title": "Dataset",
            "description": "Name of the dataset to which the document belongs"
          },
          "filename": {
            "type": "string",
            "title": "Filename",
            "description": "Name of the file that was standardized."
          },
          "displayMode": {
            "$ref": "#/components/schemas/DisplayMode",
            "title": "Display Mode",
            "description": "Display mode actually used during standardization."
          },
          "timestamp": {
            "type": "string",
            "title": "Timestamp",
            "description": "Timestamp of the standardization job."
          },
          "metadata": {
            "additionalProperties": true,
            "type": "object",
            "title": "Metadata",
            "description": "Metadata associated with the document that originated this standardization. This just echoes any metadata you have previously posted on document creation."
          },
          "fieldMetadata": {
            "additionalProperties": {
              "$ref": "#/components/schemas/FieldMetadata"
            },
            "type": "object",
            "title": "Field Metadata",
            "description": "Per-field extraction metadata, keyed by dot-path into the extracted data (e.g. 'lineItems.3.amount'). Gives the page, the location on it, and how reliably that location could be determined."
          },
          "transformedData": {
            "title": "Transformed Data",
            "description": "Output of the transformation chain applied to this standardization, if any. Unlike data, this need not conform to the schema."
          },
          "transformationIds": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Transformation IDs",
            "description": "Ordered transformations that produced transformedData."
          },
          "transformationReceipt": {
            "additionalProperties": true,
            "type": "object",
            "title": "Transformation Receipt",
            "description": "Hashes identifying the input, code, context and output of the applied transformation chain."
          }
        },
        "type": "object",
        "required": [
          "standardizationId",
          "documentId",
          "data"
        ],
        "title": "Standardization",
        "description": "Public-facing representation of DocuPipeStandardization."
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          },
          "ctx": {
            "type": "object",
            "title": "Context"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      }
    },
    "securitySchemes": {
      "APIKeyHeader": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key"
      },
      "HTTPBearer": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "servers": [
    {
      "url": "https://app.docupipe.ai"
    }
  ]
}
```