{"openapi":"3.1.0","info":{"title":"Sequentry Agents mint","version":"1.0.0","description":"Challenge, permit, unsigned mint transaction. The server never holds a buyer key and never broadcasts."},"servers":[{"url":"https://sequentryagent.com"}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"}}},"paths":{"/api/agent/capabilities":{"get":{"summary":"Discovery","responses":{"200":{"description":"JSON"},"401":{"description":"not signed in"},"409":{"description":"refused, with a reason"}}}},"/api/agent/collection":{"get":{"summary":"Supply, redeemed count, price, gate","responses":{"200":{"description":"JSON"},"401":{"description":"not signed in"},"409":{"description":"refused, with a reason"}}}},"/api/auth/wallet/nonce":{"post":{"summary":"Request a sign-in message for a Solana address","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["address"],"properties":{"address":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$"}}}}}},"responses":{"200":{"description":"JSON"},"401":{"description":"not signed in"},"409":{"description":"refused, with a reason"}}}},"/api/auth/wallet/verify":{"post":{"summary":"Verify the ed25519 signature of that message; returns a bearer token","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["address","signature"],"properties":{"address":{"type":"string"},"signature":{"type":"string","description":"base58 signature"}}}}}},"responses":{"200":{"description":"JSON"},"401":{"description":"not signed in"},"409":{"description":"refused, with a reason"}}}},"/api/agent/attempt":{"post":{"summary":"Start one challenge","security":[{"bearer":[]}],"responses":{"200":{"description":"JSON"},"401":{"description":"not signed in"},"409":{"description":"refused, with a reason"}}}},"/api/agent/attempt/submit":{"post":{"summary":"Answer it once","security":[{"bearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["attemptId","missing","total","digest"],"properties":{"attemptId":{"type":"string"},"missing":{"type":"array","items":{"type":"integer"}},"total":{"type":"string"},"digest":{"type":"string","pattern":"^[0-9a-f]{16}$"}}}}}},"responses":{"200":{"description":"JSON"},"401":{"description":"not signed in"},"409":{"description":"refused, with a reason"}}}},"/api/agent/mint":{"post":{"summary":"Unsigned mint transaction, already co-signed by the gate","security":[{"bearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["attemptId","asset"],"properties":{"attemptId":{"type":"string"},"asset":{"type":"string","description":"public key of a fresh keypair you generated"}}}}}},"responses":{"200":{"description":"JSON"},"401":{"description":"not signed in"},"409":{"description":"refused, with a reason"}}}}}}