FarmNeural OpenAPI spec

FarmNeural for AI agents and bots

FarmNeural exposes a small, per-tenant API so an AI agent can read your farm's soil-moisture telemetry and, when you allow it, control irrigation. Every request is scoped to the single farm the token belongs to — an agent can only ever see and act on that farm's data.

How to get a token

  1. Sign in to the client portal and open API tokens.
  2. Create a token, choosing Read only, or Read + Control to allow irrigation actions.
  3. Copy the token (shown once) and send it as Authorization: Bearer fnk_….

Manage your API tokens →

Endpoints

Base URL: https://www.farmneural.com/api/v1

Read (scope: read)

Control (scope: control)

Control calls accept an Idempotency-Key header — a repeat with the same key returns the original result without re-acting (24h).

OpenAPI

Machine-readable description of every endpoint and the Bearer scheme.

https://www.farmneural.com/api/v1/openapi.json

MCP server

An MCP server wraps this API so an agent can call it as tools. Point your MCP client at the base URL above and authenticate with your Bearer token.

Discovery document →