Return extraction results shaped to the project’s target output schema. The response body is the JSON object conforming to the schema set via PUT /projects/{project_id}/schema/. Returns 400 if no schema is configured, 409 if the mapping is still being generated, and 422 if mapping generation failed.
GET https://api.parsewise.ai/api/v1/projects/{project_id}/results/schema/
URI Parameters
Name
In
Required
Type
Description
enrich
query
No
boolean
When true, each scalar leaf gains sibling fields <field>_consistency (resolution status) and <field>_parsewise_url (deep link to the result in the UI).
ApiKeyAuth — apiKey — in X-API-Key header. API key with pw_live_ prefix.
Python example
importosimportrequestsAPI_KEY=os.environ["PARSEWISE_API_KEY"]BASE_URL="https://api.parsewise.ai/api/v1"project_id="<uuid>"params={# "enrich": False, # When true, each scalar leaf gains sibling fields `<field>_consistency` (resolution status) and `<field>_parsewise_url` (deep link to the result in the UI)
}resp=requests.get(f"{BASE_URL}/projects/{project_id}/results/schema/",headers={"X-API-Key":API_KEY},params=params,)resp.raise_for_status()print(resp.json()ifresp.contentelseNone)