Uh oh!
There was an error while loading. Please reload this page.
Update API documentation with corrected request/response structure - #11
Conversation
…, add redirects - Move place_id out of inputs to top level in all curl/python/js examples and input flexibility snippets (fixes 422 errors for users following docs) - Update response example to use actual API field names (websites, phoneNumbers, openingHours, closed_permanently) instead of fictional ones (website, phone, social_profiles, is_permanently_closed) - Fix attribute table: social_profiles -> socialHandles - Update OpenAPI spec response example to match real API output - Add redirects for /quickstart, /introduction, /guides/troubleshooting https://claude.ai/code/session_01VTZqLservL8nZ21KUgvnUB
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Claude finished @lukasmartinelli's task —— View job Documentation PR Review |
Claude finished @lukasmartinelli's task —— View job Documentation PR ReviewTodo List
Code Example AnalysisCurl Example (lines 23-38):
Python Example (lines 40-63):
JavaScript Example (lines 65-86):
Input Flexibility Examples (lines 101-134):
Documentation Quality Assessment✅ NO AI SLOP DETECTED - Content is concise and technical:
Key Improvements Identified:
Final Assessment: PROBABLY_FINEReasoning: All code examples show correct API structure with Recommendation: Approve after confirming examples work in actual testing environment. |
Uh oh!
There was an error while loading. Please reload this page.

Summary
This PR updates the quickstart guide and API documentation to reflect the correct request and response structure for the Place Enrichment API, with
place_idas a top-level field rather than nested withininputs.Key Changes
place_idfrom inside theinputsobject to the top level of the request payload across all code examples (cURL, Python, JavaScript)place_idis required at the top level, not insideinputsplace_idat top level and input fields within theinputsobjectstatusandinputsfieldswebsites,phoneNumbers,openingHours,closed_permanently)last_enrichedtimestamp injob_metadataattribute_statusto reflect current field namessocial_profilestosocialHandlescategoriesdescription to be more genericdocs.jsonfor legacy URLs (/quickstart,/introduction→/guides/quickstart, and/guides/troubleshooting→/guides/troubleshooting-40x)Implementation Details
All examples now consistently demonstrate the correct API contract with
place_idas a required top-level field, making the documentation more accurate and reducing developer confusion during integration.https://claude.ai/code/session_01VTZqLservL8nZ21KUgvnUB