---
title: "Request a challenge nonce for agent authentication"
method: POST
path: "/agent/challenge"
---

# Request a challenge nonce for agent authentication

`POST /agent/challenge`

Returns a one-time nonce that must be signed by the agent's sr25519 key. Nonce expires in 60 seconds.

## Request body

- AgentChallengeRequest
  - `address` string, required — Vara account address (SS58 or hex)

## Response `200`

Challenge created

## Other responses

- `400` — Invalid address
- `429` — Rate limited

---

[API](https://skmtc.net/gear-tech/apis/api-documentation.md) · [All operations](https://skmtc.net/gear-tech/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gear-tech/api-documentation/versions/3753ad0069f9/schema)
