assets.dev docs

/extractions

/api/v1/extractions - POST

POST/api/v1/extractions

Request Body

application/json

URL to extract

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/extractions" \  -H "Content-Type: application/json" \  -d '{    "url": "http://example.com"  }'
{  "id": "4a01a492-f21b-4cad-9836-910ec06f6e26",  "status": "queued",  "cached": true,  "claimToken": "string"}
{  "error": {    "code": "string",    "message": "string",    "details": null  }}