Skip to main content
POST
/
api
/
agents
/
epoch
Process an epoch for an agent
curl --request POST \
  --url http://localhost:3001/api/agents/epoch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agentId": "<string>",
  "vectors": [
    "<string>"
  ],
  "epochNumber": 123
}
'
{
  "success": true,
  "agentId": "<string>",
  "epochNumber": 123,
  "vectorCount": 123,
  "mmrRoot": "<string>",
  "depinCid": "<string>",
  "transactionSignature": "<string>",
  "gasCost": {
    "iGas": 123,
    "mGas": 123,
    "total": 123
  },
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.lucid.foundation/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Lucid API key (lk_live_... or lk_test_...)

Body

application/json
agentId
string
required
vectors
string[]
required
Minimum array length: 1
epochNumber
integer

Response

OK

success
boolean
required
agentId
string
required
epochNumber
integer
required
vectorCount
integer
required
mmrRoot
string
required
depinCid
string
transactionSignature
string
gasCost
object
message
string