API reference

API reference · Identity

Ask for a confirmation to sign before a risky act

POST/api/auth/step-up/challengeSigned in session

An EIP-4361 shaped message naming the act, for the session's own wallet to sign. Acts: erasing the account, minting or widening a key with pay, agents or admin, and each admin act by role. Same origin, a few a minute.

Request body

application/json, required

Request body fields
FieldTypeWhat it is
actrequiredstring

Example

{
  "act": "string"
}

Answer 200

The message to sign and when its nonce lapses.

Fields of the 200 answer
FieldTypeWhat it is
actstring
noncestring
messagestring
expiresAtinteger

Errors

  • 400OpenAI shaped error.
  • 401OpenAI shaped error.
  • 403OpenAI shaped error.
  • 429OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter