---
title: "Request Authentication Challenge"
method: POST
path: "/auth/challenge"
tags: ["Authentication"]
---

# Request Authentication Challenge

`POST /auth/challenge`

Generate and return a single-use challenge nonce that the agent must sign
with its private key to prove identity ownership.

## Request body

- ChallengeRequest
  - `agent_id` string, required

## Response `200`

Challenge nonce generated successfully

- ChallengeResponse
  - `nonce` string — Single-use nonce that must be signed by the agent

## Other responses

- `404` — Agent not found
- `500` — Internal Server Error - Unexpected server error

---

[API](https://skmtc.net/deeptrail/apis/deepsecure-api-dual-service-architecture.md) · [All operations](https://skmtc.net/deeptrail/apis/deepsecure-api-dual-service-architecture/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeptrail/deepsecure-api-dual-service-architecture/revisions/78627360c082/schema)
