curl --request POST \ --url https://aitutor-api.vercel.app/api/v1/run/wf_b1c45lj9pabaotitahwfk9gb \ --header 'Authorization: Bearer sk_h9e86nd9jfo5dyojrg9qaaq90bqo185p' \ --header 'Content-Type: application/json' \ --data '{"story":"a story about a dog named charlie"}'
{ "success": true, "run_id": "run_abc123xyz", "status": "completed", "output": { "generated_story": "Once upon a time, there was a friendly dog named Charlie..." }}
import requestsurl = "https://aitutor-api.vercel.app/api/v1/run/wf_b1c45lj9pabaotitahwfk9gb"headers = { "Authorization": "Bearer sk_h9e86nd9jfo5dyojrg9qaaq90bqo185p", "Content-Type": "application/json"}data = { "story": "a story about a dog named charlie"}response = requests.post(url, headers=headers, json=data)print(response.json())