{"slug":"api-mekler-ai-v1-swarm-sessions-start-session-41e00e","title":"Choose 1–32 cooperating workers for supplied files and isolated local tools","host":"api.mekler.ai","method":"POST","resource":"https://api.mekler.ai/v1/swarm/sessions/start-session","category":"code","description":"Choose 1–32 cooperating workers for supplied files and isolated local tools. Prepay 5 USDC per worker; charge is 1.25 times disclosed model usage plus 1 USDC per delivered worker-hour, capped at prepayment. Unused funds return after reconciliation. Task failure is charged for used execution; service","price_listed":10.0,"price_asked":10.0,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1028,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"brief":{"budget_micro_usd":5000000,"constraints":["Use the supplied files and installed local tools."],"expected_output":{"acceptance_criteria":["Every supplier is assessed against every requirement and each finding cites the supplied evidence."],"files":["comparison.csv","report.md"]},"goal":"Compare the supplied supplier offers against the requirements, with evidence and explicit unknowns.","permitted_tools":["isolated_local_tools"],"timeout_seconds":7200},"files":{"offers.txt":"U3VwcGxpZXIgQTogJDQwL21vbnRoOyBvZmZsaW5lIENTViBleHBvcnQgaW5jbHVkZWQuClN1cHBsaWVyIEI6ICQzMC9tb250aDsgZXhwb3J0IHN1cHBvcnQgbm90IHN0YXRlZC4K","requirements.txt":"Q29tcGFyZSBtb250aGx5IHByaWNlIGFuZCBvZmZsaW5lIGV4cG9ydCBzdXBwb3J0LiBDaXRlIHN1cHBsaWVkIGV2aWRlbmNlOyBtYXJrIG1pc3NpbmcgZmFjdHMgdW5rbm93bi4K"},"workers":2},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"oneOf":[{"properties":{"brief":{"properties":{"budget_micro_usd":{"maximum":2500000}}},"workers":{"enum":[1]}}},{"properties":{"brief":{"properties":{"budget_micro_usd":{"maximum":5000000}}},"workers":{"enum":[2]}}},{"properties":{"brief":{"properties":{"budget_micro_usd":{"maximum":10000000}}},"workers":{"enum":[4]}}},{"properties":{"brief":{"properties":{"budget_micro_usd":{"maximum":20000000}}},"workers":{"enum":[8]}}},{"properties":{"brief":{"properties":{"budget_micro_usd":{"maximum":40000000}}},"workers":{"enum":[16]}}},{"properties":{"brief":{"properties":{"budget_micro_usd":{"maximum":80000000}}},"workers":{"enum":[32]}}}],"properties":{"brief":{"additionalProperties":false,"properties":{"budget_micro_usd":{"maximum":80000000,"minimum":1,"type":"integer"},"constraints":{"items":{"maxLength":4000,"type":"string"},"maxItems":50,"type":"array"},"expected_output":{"additionalProperties":false,"properties":{"acceptance_criteria":{"items":{"maxLength":4000,"type":"string"},"maxItems":50,"minItems":1,"type":"array"},"files":{"items":{"maxLength":240,"type":"string"},"maxItems":200,"minItems":1,"type":"array"}},"required":["files","acceptance_criteria"],"type":"object"},"goal":{"maxLength":20000,"minLength":1,"type":"string"},"permitted_tools":{"items":{"enum":["isolated_local_tools"]},"maxItems":1,"minItems":1,"type":"array"},"timeout_seconds":{"maximum":7200,"minimum":5400,"type":"integer"}},"required":["goal","constraints","permitted_tools","budget_micro_usd","timeout_seconds","expected_output"],"type":"object"},"files":{"additionalProperties":{"format":"byte","type":"string"},"maxProperties":200,"type":"object"},"workers":{"enum":[1,2,4,8,16,32],"type":"integer"}},"required":["brief","files","workers"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"access_token":{"type":"string"},"job":{"type":"object"},"payment_state":{"type":"string"},"purchase_id":{"type":"string"},"state":{"type":"string"}},"required":["purchase_id","payment_state"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":10.0,"price_match":true,"latency_ms":1028,"error":null}],"description_full":"Choose 1–32 cooperating workers for supplied files and isolated local tools. Prepay 5 USDC per worker; charge is 1.25 times disclosed model usage plus 1 USDC per delivered worker-hour, capped at prepayment. Unused funds return after reconciliation. Task failure is charged for used execution; service failures refund affected charges. No external network, guaranteed correctness or speedup. Save the original body/proof and private job token for recovery.","last_updated":"2026-10-25T16:12:43.364Z","schemes":["exact"]}