Hit the Try it button to try this API now in our playground. It’s the best way to check the full request and response in one place, customize your parameters, and generate ready-to-use code snippets.
Examples
API Request
TypeScript
Python (Sync)
curl --request PATCH \
--url 'https://api.usecortex.ai/upload/update_webpage?web_url=https%3A%2F%2Fwww.usecortex.ai%2F&source_id=CortexDoc1234&tenant_id=tenant_1234&sub_tenant_id=sub_tenant_4567' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/x-www-form-urlencoded'
Update or create webpage content, performing an upsert operation where new entries are created for non-existent source_id values.
Error Responses
All endpoints return consistent error responses following the standard format. For detailed error information, see our Error Responses documentation.Body
application/x-www-form-urlencoded · Body_update_scrape_job_upload_update_webpage_patch · object