Skip to content

Make your first API call

Deploy the workspace first. Copy its active runtime URL and create or rotate a runtime API key from the dashboard. The runtime accepts the key as a Bearer token.

Terminal window
curl "$RUNTIME_URL/v1/chat/completions" \
--request POST \
--header "Authorization: Bearer $NEUTROME_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"model": "assistant/support",
"messages": [{ "role": "user", "content": "Hello" }]
}'

Set RUNTIME_URL to the generated URL or your active custom domain. The model name is the namespace and code you created, not the upstream provider model.

  • GET /v1/models lists models that the key may access.
  • POST /v1/chat/completions accepts Chat Completions requests.
  • POST /v1/responses accepts Responses API requests.
  • POST /v1/messages accepts Anthropic Messages requests.

The route you call is independent from the provider protocol selected by the model. Neutrome converts the normalized program at the provider boundary.