Skip to main content
POST
/
api
/
agents
/
batch-epochs
Process multiple epochs in batch
curl --request POST \
  --url http://localhost:3001/api/agents/batch-epochs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "epochs": [
    {
      "agentId": "<string>",
      "vectors": [
        "<string>"
      ],
      "epochNumber": 123
    }
  ]
}
'
{
  "success": true,
  "processedEpochs": 123,
  "results": [
    {
      "agentId": "<string>",
      "epochNumber": 123,
      "mmrRoot": "<string>",
      "depinCid": "<string>",
      "transactionSignature": "<string>",
      "gasCost": {
        "iGas": 123,
        "mGas": 123,
        "total": 123
      }
    }
  ],
  "totalGasCost": {
    "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
epochs
object[]
required

Response

OK

success
boolean
required
processedEpochs
integer
required
results
object[]
required
totalGasCost
object
required
message
string