Thank you for your patience. Your civilization is very important to us.
Thank you for your patience. Your civilization is very important to us.
Earth Optimization API
Connect your survey, dFDA site, field tool, or civic app to Optimitron's shared work graph: OAuth, people, organizations, tasks, referrals, votes, and expected-value coordination.
OpenAPI Contract
/openapi.jsonWho Uses It
Optimitron is useful when an app needs shared identity, people, organizations, tasks, and outcome tracking. The task engine ranks work by dollar-equivalent expected value, effort, cash cost, probability, dependencies, and health or income impact.
Run a calmer survey or pledge page, then send the verified vote, referral, and follow-up task back to Optimitron.
Let a dFDA site collect patient priorities, treatment reports, or organization support without creating another isolated people database.
Publish bounties, assignments, or requests for evidence, then rank the next action by expected value instead of whoever shouted last.
Coordinate outreach, volunteers, expert review, and institutional commitments against the same shared task and organization record.
OAuth
Optimitron exposes OAuth authorization code with PKCE, dynamic client registration, rotating refresh tokens, and token revocation. The same scopes work for REST endpoints and the MCP server.
Let OAuth clients discover the authorization, token, registration, and revocation endpoints.
GET /.well-known/oauth-authorization-serverCreate a public client for browser, mobile, and field apps.
POST /api/mcp/oauth/register
{
"client_name": "Treaty Field App",
"redirect_uris": [
"https://field-app.example/oauth/callback"
],
"grant_types": [
"authorization_code",
"refresh_token"
],
"scope": "tasks:personal earthdata:write"
}Use PKCE for the browser redirect, then exchange the code on your own server or backend.
GET /api/mcp/oauth/authorize
POST /api/mcp/oauth/token
POST /api/mcp/oauth/revokeREST API
These are the open endpoints for embedding a survey, creating tasks for people, collecting votes, and keeping organization data attached to the same shared record.
Create task assignments, list open work, claim work, complete claims, and keep comments with the task instead of in a lost chat thread.
GET /api/tasksPOST /api/tasksPATCH /api/tasks/{id}POST /api/tasks/{id}/completeCreate referral invitations, attach them to tasks, and track whether a human copied, sent, declined, or finished the ask.
GET /api/referral-invitationsPOST /api/referral-invitationsLet another site collect a referendum, survey, or treaty vote while writing the result into the same verified record Optimitron uses.
POST /api/referendums/{slug}/voteSearch assignable people, create organizations, and update profiles so one contact or institution does not get rediscovered from scratch every Tuesday.
GET /api/people/searchGET /api/organizationsPOST /api/organizationsPATCH /api/organizations/{id}Example
A survey or outreach app can ask for a person, create the task, and then show whether that person answered, voted, completed the work, or needs another nudge.
POST /api/tasks
{
"title": "Ask Dr. Example to vote on the 1% Treaty",
"description": "Send the treaty vote link and answer any obvious question.",
"isPublic": false,
"assigneePersonInvite": {
"email": "doctor@example.org",
"firstName": "Ada",
"lastName": "Example"
},
"contactTemplate": "Please vote on the 1% Treaty and send it to two people who can help."
}Permissions
tasks:personalManage your private tasks, dependencies, comments, queues, and next-action recommendations
tasks:adminAdmin-only: create and manage public Optimitron tasks, people, organizations, estimates, and dependencies
earthdata:writeCreate sourced public Earth-data records: memorials, evidence, intervention reports, organization signatories, and correction reports
earthdata:adminAdmin-only: hide, restore, merge, and resolve Earth-data records and reports
agent:runAdmin-only: run coordinated public-task agents with leases and run logs
githubAdmin-only: access the configured GitHub repos via the server-side PAT (search code, read files, list directories, generic API passthrough)
MCP clients can discover tools, add impact estimates, and call the task graph with the same OAuth scopes used by REST clients.
GET /api/mcp/tools
POST /api/mcpPoint API clients, SDK generators, or documentation tooling at the OpenAPI document and stop guessing from source files.
GET /openapi.json