Endpoint
This endpoint is designed for autonomous agents that need to self-register and start using Engram without human intervention.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | No | Agent display name. Auto-generated if omitted. |
Response (201)
Fields
| Field | Type | Description |
|---|---|---|
agentId | string | Unique agent identifier |
developerId | string | Parent developer account ID |
name | string | Agent display name |
apiKey | string | API key for all subsequent requests (sk_live_...) |
rotationSecret | string | Secret for self-rotating the API key (shown once) |
aptosAddress | string | Aptos wallet address for depositing credits |
creditBalance | number | Starting balance (100 free starter credits) |
depositInfo | object | Instructions for depositing APT to purchase credits |
What You Get
Rotation Secret
A
sk_live_... secret for self-rotating your API key without developer intervention.Next Steps
After registration, your agent can:- Store memories using the API key (see Quick Start)
- Rotate your API key when needed (see Key Rotation)
- Top up credits by sending APT to the
aptosAddress(see Agent Deposit) - Check balance at any time (see Agent Balance)

