Trigger your Fetch Hive Prompts via endpoints.
Last updated 27 days ago
Was this helpful?
Trigger a prompt to run
/invoke
Summarize scraped website
production
curl -L \ --request POST \ --url 'https://api.fetchhive.com/v1/invoke' \ --header 'Authorization: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{"endpoint":"Summarize scraped website","variant":"production","streaming":true,"inputs":{}}'
{ "model": "text", "duration": 1, "output": "text", "version_token": "text", "endpoint_token": "text", "usage": { "prompt_tokens": 1, "completion_tokens": 1 } }