Agents POST /v1/agent-runtime/executePOST /v1/agent-runtime/streamGET /v1/agent-runtime/{agent_id}GET /v1/agent-runtime/{agent_id}/stepsPOST /v1/agent-runtime/{agent_id}/cancel
GPUs GET /v1/gpus
Models GET /v1/models/localGET /v1/modelsGET /v1/models/{model_id}POST /v1/models/{model_id}/deploymentsDELETE /v1/models/{model_id}/deploymentDELETE /v1/models/{model_id}GET /v1/integrations/huggingfacePOST /v1/integrations/huggingface/authorizeDELETE /v1/integrations/huggingfaceGET /v1/models/{model_id}/deliveryGET /v1/models/{model_id}/exportsPOST /v1/models/{model_id}/exportsGET /v1/exports/{export_id}GET /v1/exports/{export_id}/download
Datasets GET /v1/datasets/searchPOST /v1/datasets/prepareGET /v1/datasets/{dataset_id}
Training GET /v1/training/capabilitiesPOST /v1/jobsGET /v1/jobs/{job_id}GET /v1/jobs/{job_id}/logsGET /v1/jobs/{job_id}/logs/streamGET /v1/jobs/{job_id}/metricsGET /v1/jobs/{job_id}/metrics/historyDELETE /v1/jobs/{job_id}/cancelGET /v1/jobs
Inference GET /v1/inference/catalogPOST /v1/inferencePOST /v1/batch-inferencePOST /v1/chat/completionsPOST /v1/completionsPOST /v1/evalsGET /v1/evals/{eval_id}
Voice GET /v1/voice/modelsGET /v1/voice/voicesGET /v1/voice/voices/{voice_id}/previewPOST /v1/voice/speechPOST /v1/voice/transcribePOST /v1/voice/voices/cloneGET /v1/voice/history
Storage POST /v1/storageGET /v1/storageGET /v1/storage/{file_id}GET /v1/storage/{file_id}/downloadDELETE /v1/storage/{file_id}
Billing GET /v1/estimates/capabilitiesPOST /v1/estimatesPOST /v1/budgetsGET /v1/budgetsGET /v1/billing/statusGET /v1/billing/usagePOST /v1/billing/payout-methodsGET /v1/billing/earningsPOST /v1/billing/payouts/withdraw
Account GET /v1/account/identityGET /v1/account/principalGET /v1/account/balancePOST /v1/account/depositPOST /v1/account/sub-accountsPATCH /v1/account/sub-accounts/{policy_id}GET /v1/account/sub-accountsGET /v1/account/sub-accounts/usage/summary
1 Create a Project A Project is your app's boundary for database, storage, users, usage and server credentials.
Open Projects 2 Copy a Project Service Key Backend keys begin with mkp_ and are returned once. Keep them server-side.
Create server key 3 Make your first request Write JSON to the Project document database, then reuse the same server key for storage, AI and compute when needed.
Browse Project APIs 4 Add application users Auth-enabled Projects can sign up email/password users and return scoped mpu_ sessions for their own private data and files.
Open auth endpoints 5 Manage users safely List users and auth analytics with auth:read. Use auth:write only for signup policy, user enable/disable and session revocation.
Open Auth dashboard export PROJECT_ID="prj_your_project_id"
export MONARCH_KEY="mkp_your_project_key"
curl -X PUT \
"https://app.africacomputefund.com/v1/projects/$PROJECT_ID/data/users/ian" \
-H "Authorization: Bearer $MONARCH_KEY" \
-H "Content-Type: application/json" \
-d '{"data":{"name":"Ian","active":true}}' python3 -m pip install monarch-cloud
monarch login
monarch init "my-first-app"
monarch status
monarch deploy hello ./hello.js monarch login prompts privately for your REST API key. deploy sends one JavaScript Project Function from an existing file, not an entire app. Explore with monarch models or monarch jobs. For OAuth-enabled assistants, connect Monarch MCP .
Endpoint POST /v1/agent-runtime/executePOST /v1/agent-runtime/executeRun Agent API key required
Run Agent.
Use when Use this to create or start the operation. Supply the request body below when it is required.
Returns A successful response returns the resource data or operation status defined below.
Run one bounded Agent Runtime task using the authenticated principal and its existing permissions. Start new work with an agent configuration or continue prior state with an existing agent id.
Request body Required Send the fields defined below in the request body.
Responses 401Authentication is missing or invalid. 422Request validation failed. 429Rate limit exceeded. 500Unexpected server error. curl -X POST 'https://app.africacomputefund.com/v1/agent-runtime/execute' \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: YOUR_STABLE_REQUEST_ID" \
-H "Content-Type: application/json" \
-d '{ "agent": { "name": "Ops Agent", "model": "openai/gpt-4.1-mini", "instructions": "Investigate and summarize." }, "input": { "messages": [ { "role": "user", "content": "Why did the latest job fail?" } ], "files": [], "variables": {} }, "limits": { "max_steps": 6, "timeout_seconds": 120, "max_cost_usd": 1 } }' {
"agent": {
"name": "Ops Agent",
"model": "openai/gpt-4.1-mini",
"instructions": "Investigate and summarize."
},
"input": {
"messages": [
{
"role": "user",
"content": "Why did the latest job fail?"
}
],
"files": [],
"variables": {}
},
"limits": {
"max_steps": 6,
"timeout_seconds": 120,
"max_cost_usd": 1
}
} {
"detail": {
"error": "API key is required",
"code": "UNAUTHORIZED"
}
}