News for hackers. Stuff that matters.
Re:Claude 3.7 Sonnet and Claude Code by bakugo on Monday February 24, 2025 @02:29PM (#43163821)
Can you let the API team know that the /v1/models endpoint has been broken for hours? Thanks.
Re:Claude 3.7 Sonnet and Claude Code by latetomato on Monday February 24, 2025 @02:41PM (#43163976)
Hello! Member of the API team here. We're unable to find issues with the /v1/models endpoint—can you share more details about your request? Feel free to email me at [email protected]. Thank you!
Re:Claude 3.7 Sonnet and Claude Code by bakugo on Monday February 24, 2025 @02:45PM (#43164023)
It always returns a Not Found error for me. Using the curl command copied directly from the docs:

$ curl https://api.anthropic.com/v1/models --header "x-api-key: $ANTHROPIC_API_KEY" --header "anthropic-version: 2023-06-01"

{"type":"error","error":{"type":"not_found_error","message":"Not found"}}

Edit: Tried creating a different API key and it works with that one. Weird.

Re:Claude 3.7 Sonnet and Claude Code by lebovic on Monday February 24, 2025 @02:59PM (#43164202)
If you can reproduce the issue with the other API key, I'd also love to debug this! Feel free to share the curl -vv output (excluding the key) with the Anthropic email address in my profile