Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: