Intented docs

Read one proposal

GET
/api/proposals/{id}

Path Parameters

id*string

Response Body

The proposal

application/json
  1. response
id?string
wallet_id?string
created_at?integer

Milliseconds since the epoch.

updated_at?integer

Milliseconds since the epoch.

action?

The canonical action the wallet signed off on.

args?string

The exact JSON the wallet sends.

context_excerpt?string

The first 500 characters of the context.

status?string
Value in"pending""allowed""denied""executed""failed"
verdict?|
Value in"ALLOW""DENY"null
reason?string|null
model?string|null
chat_id?string|null
signature?string|null
signer?string|null
attestation_url?|

The signer's published, verified attestation report, or null.

near_tx_hash?string

Present once the agent reports its execute.

oneclick?

Present for a payment through 1Click.

Example Request
curl -X GET 'https://hack.furqaannabi.com/api/proposals/string'
Example Response
{  "id": "string",  "wallet_id": "string",  "created_at": 0,  "updated_at": 0,  "action": {    "receiver_id": "string",    "method": "string",    "args_sha256": "string",    "deposit": "string",    "nonce": "string",    "expiry_ms": "string"  },  "args": "string",  "context_excerpt": "string",  "status": "pending",  "verdict": "ALLOW",  "reason": "string",  "model": "string",  "chat_id": "string",  "signature": "string",  "signer": "string",  "attestation_url": "string",  "near_tx_hash": "string",  "oneclick": {    "deposit_address": "string",    "dest_chain": "string",    "recipient": "string",    "amount_out": "string",    "status": "string",    "dest_tx_hash": "string",    "simulated": true  }}