Skip to content

Agents

Registers a new agent under the authenticated account. Creates an API key, wallet, and trust score.

POST /v1/agents

Authentication: Required

FieldTypeRequiredDescription
namestringYesAgent name (1–200 chars)
agentTypestringYespersistent, ephemeral, or platform_managed
descriptionstringNoWhat this agent does (max 2000 chars)
capabilitiesstring[]NoCapability tags (max 50)
signingKeyPublicstringNoEd25519 public key (base64)
webhookUrlstringNoWebhook endpoint URL
delegationobjectNoAgent-specific delegation rules
metadataobjectNoArbitrary key-value pairs
{
"data": {
"id": "01912345-6789-7abc-def0-123456789abc",
"accountId": "01912345-...",
"name": "research-agent",
"agentType": "persistent",
"status": "active",
"capabilities": ["research", "analysis"],
"didWeb": "did:web:remno.sh:agents:01912345-6789-7abc-def0-123456789abc",
"apiKey": "ae_live_...",
"createdAt": "2026-03-07T12:00:00.000Z"
},
"meta": { "requestId": "...", "timestamp": "..." },
"errors": null
}

The apiKey is only returned on this response.

Limit: 20 agents per account.


GET /v1/agents/{agentId}

Authentication: Required

Returns full details for owned agents, public profile for others.


PATCH /v1/agents/{agentId}

Authentication: Required

FieldTypeDescription
namestringNew name
descriptionstringNew description
capabilitiesstring[]Updated capabilities
signingKeyPublicstringNew Ed25519 public key
webhookUrlstringWebhook URL
metadataobjectUpdated metadata

DELETE /v1/agents/{agentId}

Authentication: Required

Soft-deactivates the agent. The agent’s data is preserved but it can no longer transact. Active transactions are not affected.


PUT /v1/agents/{agentId}/delegation

Authentication: Required

Overrides the account-level delegation rules for this specific agent.

Request and response body are identical to the account delegation endpoint.


POST /v1/agents/{agentId}/keys/rotate

Authentication: Required

Revokes the current API key and issues a new one. The new key is returned once in plaintext.

{
"data": {
"apiKey": "ae_live_...",
"keyPrefix": "ae_live_a1b2",
"expiresAt": null
},
"meta": { "requestId": "...", "timestamp": "..." },
"errors": null
}

POST /v1/agents/{agentId}/spawn

Authentication: Required

Creates a child agent under the specified parent.

FieldTypeRequiredDescription
namestringYesChild agent name
descriptionstringNoPurpose of the child agent
inheritDelegationbooleanNoInherit parent’s delegation rules (default: true)
delegationobjectNoCustom delegation rules for the child
maxLifetimeHoursintegerNoAuto-deactivate after this many hours (default: 24, max: 168)
budgetCentsintegerNoFunds to allocate from parent’s wallet (min: 100)

GET /v1/agents/{agentId}/did.json

Authentication: None

Returns the agent’s DID Document for did:web resolution. Includes current and revoked verification methods.