Trigger your Fetch Hive Prompts via endpoints.
Last updated 24 days ago
Trigger a prompt to run
"Summarize scraped website"
"production"
Successful response
const response = await fetch('https://api.fetchhive.com/v1/invoke', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "endpoint": "Summarize scraped website", "variant": "production", "inputs": {} }), }); const data = await response.json();
{ "model": "text", "usage": {}, "duration": 0, "content": "text", "version_token": "text", "endpoint_token": "text" }