Authorizations
Your Valyu API key. Get one at platform.valyu.network
Body
List of URLs to process (maximum 10 URLs per request)
1 - 10
elements[
"https://example.com/article1",
"https://example.com/article2"
]
Content length configuration:
- "short": 25,000 characters (good for summaries)
- "medium": 50,000 characters (good for articles)
- "large": 100,000 characters (good for academic papers)
- "max": No character limit
- Custom integer: Specific character limit
short
, medium
, large
, max
"medium"
Processing effort level:
- "normal": Standard extraction speed and quality
- "high": Enhanced extraction with better content quality (slower)
normal
, high
"normal"
Toggle AI processing (false
is default)
true
Response
All URLs processed successfully
Whether the request was successful
true
Error message if any issues occurred
null
Unique transaction ID for tracking and support
"tx_12345678-1234-1234-1234-123456789abc"
Array of processed content results
Number of URLs submitted in the request
1 <= x <= 10
2
Number of URLs successfully processed
x >= 0
2
Number of URLs that failed processing
x >= 0
0
Actual cost charged (only for successful URLs)
x >= 0
0.004
Total characters across all processed results
x >= 0
25680