curl
Raw requests in each format.
OpenAI chat:
curl https://simpang.zakiego.com/api/v1/chat/completions \
-H "Authorization: Bearer $SIMPANG_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"claude-haiku-4-5-20251001","messages":[{"role":"user","content":"Hi"}]}'Anthropic messages:
curl https://simpang.zakiego.com/api/v1/messages \
-H "x-api-key: $SIMPANG_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{"model":"claude-haiku-4-5-20251001","max_tokens":256,"messages":[{"role":"user","content":"Hi"}]}'Your models:
curl https://simpang.zakiego.com/api/v1/models -H "Authorization: Bearer $SIMPANG_API_KEY"Every response has an x-simpang-request-id header, the same id the request drawer in Activity shows.