elifowa API

Programmatic access to our post-human governance frameworks and AI-driven network

API Overview

Authentication

API requests must include Bearer token in Authorization header. Tokens can be obtained via /auth/token endpoint.

Base URL

https://core.elifowa.net/api/v1

Rate Limits

1000 requests per minute per token. Upgrade your token tier in DAO for higher limits.

Governance API

List Active Proposals


get /governance/proposals?status=active
Accept: application/json
Authorization: Bearer <token>

                    

Cast Vote


post /governance/proposals/:id/votes
Content-Type: application/json
Authorization: Bearer <token>

{
  "vote": "yes",
  "signature": "0x...",
  "stake": "5000"
}

                    

Neural Network API

Get Network Status


get /network/status
Accept: application/json
Authorization: Bearer <token>

                    
Returns current network load, consensus status, and available AI model versions.

Query AI Model


post /models/:id/query
Content-Type: application/json
Authorization: Bearer <token>

{
  "input": "What is the singularity theory?",
  "parameters": { "temperature": 0.7 }
}

                    

Posthuman Identity API

Verify Identity


get /identity/verify/${userId}
Authorization: Bearer <token>

                    

Update Verifiable Credentials


put /identity/${userId}/credentials
Content-Type: application/json
Authorization: Bearer <token>

{
  "claims": [...],
  "signature": "00..."
}

                    

Example: Cast Governance Vote

Request

curl -X 'POST' \
  'https://core.elifowa.net/api/v1/governance/proposals/45628/votes' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer <your_token>' \
  -H 'Content-Type: application/json' \
  -d '{
  "vote": "yes",
  "signature": "0x...",
  "stake": "2500"
}'
                

Response

{
  "voteId": "v-473928437",
  "proposalId": "45628",
  "voter": "did:elif:123789",
  "weight": 2500,
  "status": "pending",
  "timestamp": "2025-09-14T14:23:18Z"
}