API Documentation

The FieldLayer API lets AI agents and software dispatch human workers for real-world physical tasks. One API call deploys a verified human to complete inspections, verifications, and data collection.

Authentication

All API requests require a Bearer token in the Authorization header.

Authorization: Bearer fl_live_xxxxxxxxxxxxx

Get your API key from the Dashboard.

Base URL

https://fieldlayer.io/api/v1

Endpoints

Error Responses

All errors follow a consistent format:

{
  "error": {
    "code": "validation_error",
    "message": "Invalid request body"
  }
}
401Missing/invalid API key
400Validation error
404Resource not found
429Rate limit exceeded

MCP Server

Use FieldLayer directly from Claude Desktop or any MCP-compatible AI agent.

// Claude Desktop config (~/.claude/claude_desktop_config.json)
{
  "mcpServers": {
    "fieldlayer": {
      "command": "npx",
      "args": ["@fieldlayer/mcp-server"],
      "env": {
        "FIELDLAYER_API_KEY": "fl_live_your_key_here"
      }
    }
  }
}