Skip to main content
The AI Agent endpoints power FieldIU’s intelligent automation layer. Use them to check appointment availability, confirm work orders, create incidents, and interact with the conversational AI.

Confirm Work Order

Confirms or cancels a scheduled work order visit.

Request Body

string
The work order number to confirm
boolean
Set to true to confirm the visit, false to cancel
string
required
The scheduled visit date and time (ISO 8601 format)

Example Request


Check Booking Availability

Checks whether a specific date and time slot is available for booking.

Request Body

string
The date and time to check, in ISO 8601 format (e.g. 2024-06-15T09:00:00Z)

Example Request


Get Available Appointments

Returns a list of available appointment slots starting from a given date and time.

Request Body

string
The starting date and time to search from, in ISO 8601 format

Example Request


Create Incident

Logs a new pest or service incident linked to a client.

Request Body

string
Name of the client associated with the incident
string
Name or type of pest/insect involved in the incident
string
required
Date and time of the incident in ISO 8601 format (e.g. 2017-07-21T17:32:28Z)

Example Request


Create Quote Request

Submits a new quote request on behalf of a client.

Request Body

string
required
Name of the client requesting the quote
string
required
Description of the service or scope being quoted

Example Request


Get Work Order Details

Retrieves full details for a specific work order by its number.

Request Body

string
required
The work order number to look up

Example Request


Ask the AI

Sends a natural language query to the FieldIU AI assistant and returns a response. Supports multi-turn conversations via chatId.

Request Body

string
required
The natural language question or instruction to send to the AI
string
required
A UUID that groups messages into a single conversation thread. Generate a new UUID to start a fresh conversation
string
required
The UUID of the user sending the query

Example Request


Get Metadata

Returns metadata and configuration available to the AI agent for your organization. No request body is required.

Example Request

Response

200 OK — Returns organization metadata used by the AI agent.