Skip to main content

Endpoint

POST https://api.documind.cloud/api/v1/schema/{document_id}

Path Parameters

ParameterTypeRequiredDescription
document_idstring (UUID)YesID of the uploaded document

Response

{
  "schema": {
    "type": "object",
    "named_entities": {
      "field_name": {
        "type": "string",
        "description": "Auto-detected field"
      }
    }
  }
}

Example

response = requests.post(
    f"https://api.documind.cloud/api/v1/schema/{document_id}",
    headers={"X-API-Key": API_KEY}
)

schema = response.json()["schema"]