POST
/
api
/
file
/
html_page
curl --request POST \
  --url https://api.trieve.ai/api/file/html_page \
  --header 'Content-Type: application/json' \
  --data '{
  "data": {
    "extract": "<string>",
    "html": "<string>",
    "links": [
      "<string>"
    ],
    "markdown": "<string>",
    "metadata": {
      "articleSection": "<string>",
      "articleTag": "<string>",
      "dcDate": "<string>",
      "dcDateCreated": "<string>",
      "dcDescription": "<string>",
      "dcSubject": "<string>",
      "dcTermsAudience": "<string>",
      "dcTermsCreated": "<string>",
      "dcTermsKeywords": "<string>",
      "dcTermsSubject": "<string>",
      "dcTermsType": "<string>",
      "dcType": "<string>",
      "description": "<string>",
      "error": "<string>",
      "keywords": "<string>",
      "language": "<string>",
      "modifiedTime": "<string>",
      "ogAudio": "<string>",
      "ogDescription": "<string>",
      "ogDeterminer": "<string>",
      "ogImage": "<string>",
      "ogLocale": "<string>",
      "ogLocaleAlternate": [
        "<string>"
      ],
      "ogSiteName": "<string>",
      "ogTitle": "<string>",
      "ogUrl": "<string>",
      "ogVideo": "<string>",
      "publishedTime": "<string>",
      "robots": "<string>",
      "site_map": {
        "changefreq": "<string>"
      },
      "sourceURL": "<string>",
      "statusCode": 1,
      "title": "<string>"
    },
    "rawHtml": "<string>",
    "screenshot": "<string>"
  },
  "metadata": "<any>",
  "scrapeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
This response does not have an example.

Body

application/json
JSON request payload to upload a file
data
object
required
metadata
any
required
scrapeId
string
required

Response

204
_mintlify/placeholder

Confirmation that html is being processed