Skip to main content
POST
/
documents
/
from-url
Create Documents by Scraping URLs
curl --request POST \
  --url https://api.pal.ai/v1/documents/from-url \
  --header 'Content-Type: application/json' \
  --data '
{
  "applicationId": "<string>",
  "urls": [
    "\"techmeme.com/article1\""
  ],
  "contentSelector": "<string>",
  "metadata": "<string>"
}
'

Body

application/json

Pass

applicationId
string
required
urls
string[]
required
contentSelector
string
metadata
string

Response

200

OK