$echo '{
< "conversion_type": "curl_to_python",
< "input_data": "curl -X POST '\''https://api.example.com/v1/messages'\'' \\\\\\n -H '\''Content-Type: application/json'\'' \\\\\\n -H '\''Authorization: Bearer sk-ant-api03-xxxxx'\'' \\\\\\n -H '\''X-Request-Id: req_12345'\'' \\\\\\n -d '\''{\\n \\"model\\": \\"claude-sonnet-4-20250514\\",\\n \\"max_tokens\\": 1024,\\n \\"system\\": \\"You are a helpful assistant.\\",\\n \\"messages\\": [\\n {\\"role\\": \\"user\\", \\"content\\": \\"Explain quantum computing in simple terms\\"}\\n ]\\n }'\''",
< "add_error_handling": true,
< "add_type_hints": true,
< "add_docstrings": true,
< "timeout_seconds": 30,
< "max_retries": 3,
< "base_url_override": "",
< "output_format": "full",
< "save_to_key_value_store": true,
< "proxy_configuration": {}
<}' |
<apify call moving_beacon-owner1/my-actor-67 --silent --output-dataset