Skip to content
Anchor

Anchor documentation

Quickstart

Create a workspace, connect a route and inspect your first receipt.

1. Connect a route

Guided setup takes you through storing your provider key, setting an alias and applying policy.

2. Create an application key

Choose a caller in Credentials. Copy and store its one-time secret.

3. Send a request

curl https://anchor-gateway.zaftech.co:8443/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -H "Authorization: Bearer $ANCHOR_KEY" \
  -d '{"model":"default-chat","messages":[{"role":"user","content":"Hello"}]}'

4. Read the receipt

Open Traffic to inspect the decision, attempts and cost. Use your configured route alias in place of default-chat.