Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.simplefunctions.dev/llms.txt

Use this file to discover all available pages before exploring further.

Execution intents are the software workflow layer between analysis and order routing.

Create an intent

POST /api/intents
Required fields:
FieldMeaning
actionbuy or sell
venuekalshi or polymarket
marketIdVenue market ticker/id
marketTitleHuman-readable title
directionyes or no
targetQuantityContract quantity
Optional fields include maxPrice, executionStyle, triggerType, triggerPrice, triggerAt, softCondition, source, sourceId, and autoExecute.

List intents

GET /api/intents
GET /api/intents?active=true
GET /api/intents?status=pending

Detail/update/cancel

GET /api/intents/{id}
PATCH /api/intents/{id}
DELETE /api/intents/{id}

Runtime

POST /api/runtime/exec
GET /api/runtime/exec
Runtime endpoints are for execution workers and should be treated as side-effecting unless a route is explicitly read-only.