1 2 3 4 5 6 7 8 9 10
#!/bin/bash curl https://api.openai.com/v1/responses \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $OPENAI_API_KEY" \ -d '{ "model": "gpt-4o-mini", "input": "write a haiku about ai", "store": true }'