Skip to main content
POST
/
api
/
v1
/
debug
/
assistant-functions
/
scrape-website-content
Debug Scrape Website Content
curl --request POST \
  --url http://localhost:8000/api/v1/debug/assistant-functions/scrape-website-content \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "include_images": false
}
'
{
  "success": true,
  "data": "<string>",
  "execution_time_ms": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Schema for debugging scrape_website_content function.

url
string
required

The website URL to scrape content from

include_images
boolean
default:false

Flag to indicate whether to include images from the website

Response

Successful Response

Schema for debug function responses.

success
boolean
required

Whether the function executed successfully

data
string
required

JSON string containing the function result or error information

execution_time_ms
number | null

Function execution time in milliseconds