supported_endpoint_types in /v1/models for the current key includes anthropic. Read the API and model capability matrix first: the model, key group, and protocol must all match.
Endpoint and minimum request
Use the protocol documentation for your Anthropic client for full fields, tools, streaming, and response schemas. Optional-field availability still depends on the selected model and its current capabilities.
Use the Anthropic SDK
The native SDK manages its required protocol headers. Pass a NexusAPI key to the SDK and set its Base URL without/v1:
/v1/messages. Do not set base_url to https://nexusapi.link/v1/messages, which can create a repeated path or 404.
Claude Code versus your own app
Troubleshooting
401: Check that the key is correct, enabled, and has not been reset after exposure.404: Check whether an SDK has appended a second/v1.400: Verify with onlymodel,max_tokens, andmessages, then add optional fields gradually.500, not implemented: Confirm thatsupported_endpoint_typesincludesanthropicand that the request is using the matching endpoint.
