---
title: "Agent Challenge"
method: GET
path: "/v1/agents/challenge"
tags: ["agents"]
---

# Agent Challenge

`GET /v1/agents/challenge`

## Request

- Base URL: `https://api.superdocs.app`
- URL: `https://api.superdocs.app/v1/agents/challenge`
- Auth: none declared

Get a proof-of-work challenge for signup (only needed when the challenge gate is enabled).

Solve it headlessly with no browser: brute-force an integer `n` in
[0, maxNumber] such that `SHA-256(salt + str(n))` equals `challenge`, then
base64-encode `{algorithm, challenge, number:n, salt, signature}` and send it
as the `altcha` field in POST /v1/agents/signup.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/superdocs/apis/universal-document-ai-api.md) · [All operations](https://skmtc.dev/superdocs/apis/universal-document-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/superdocs/apis/universal-document-ai-api/revisions/37d03122940b?raw)
