API_URL = 'https://api.olostep.com/v1/agents' # endpoint available to select customers
API_KEY = '<YOUR_API_KEY>'
headers = {
'Authorization': f'Bearer {API_KEY}',
'Content-Type': 'application/json'
}
data = {
"prompt": """
Find portfolio companies from https://www.vcsheet.com/funds and
write to a Google Sheet with columns (Fund Name, Fund Website URL,
Fund LinkedIn URL, Portfolio Company Name, Portfolio Company URL,
Portfolio Company LinkedIn URL). Run weekly on Monday at 9:00 AM
and email steve@example.com when new companies are added.
""",
"model": "gpt-4.1"
}
response = requests.post(API_URL, headers=headers, json=data)
result = response.json()
print(result)