Agents API

Create an agent from an export document

post/api/v1/agents/import

Request

  • Base URL: https://three.ws
  • URL: https://three.ws/api/v1/agents/import
  • Auth: one of:
    • HTTP bearer
    • API key in header Authorization

Headers

Idempotency-Keystring

A retry with the same key and body replays the stored response for 24 hours.

Request body

documentobject
namestring

Overrides the exported name.

confirmboolean

Also create exported swap and transfer automations (needs wallet:write).

Response

The { data, meta: { requestId, timestamp } } envelope.

Changes

No recorded changes to this operation across all 1 revision of this API.