Developers

GeometrAI API

Automate GeometrAI over a REST API, or connect it to any MCP client — authenticated with a single API key. The REST reference below covers every action; the MCP server offers the tools listed under MCP tools.
REST API

Invoke any action with a POST request. Pass your key as a bearer token.

curl https://geometrai.ai/api/rest/actions \ -H "Authorization: Bearer kav_..."
POST https://geometrai.ai/api/rest/actions/{action}
MCP server

Point any Model Context Protocol client at the endpoint below. It offers the tools listed under MCP tools, limited to what your role permits.

https://geometrai.ai/api/mcp
Authorization: Bearer kav_...
Connect your AI assistant

Let your AI assistant work in GeometrAI for you

Add GeometrAI to Claude, ChatGPT or another AI assistant as a connector, and you can ask it to look things up or make changes for you in plain conversation. It signs in as you, so it only ever sees what you're allowed to see.

https://geometrai.ai/api/mcp

Claude opens with the connector filled in. For ChatGPT, Le Chat, Cursor and others, pick them with the arrow for step-by-step help.

If your MCP client can't sign in through the browser, use an API key instead, exactly like the REST API above:

Authorization: Bearer kav_...
What your assistant can (and can't) do

Your assistant can only do what your own role in GeometrAI allows — nothing more.

Choose read-only access if you only want it to look things up, never change them.

Every change it makes is recorded in the audit log, just like a change you made yourself.

You can disconnect it at any time from Settings → Connected apps.

MCP tools

What an AI app connected to GeometrAI can do. A read-only connection only gets the first group; your role in the organization still decides what each tool may touch.

Look things up
List projects
list_projects

Lists the studio's projects (pratiche) with id, name, status, type (cila, scia, permesso_di_costruire, catastale, perizia, generic), stage, comune and main client. Optional filters: status, type, stage, limit (default 50). Returns the ids the other project tools take.

Inspect project
get_project

Returns one project in full: its details and stage, plus its tasks, bills of quantities (computi), filed conversations, documents, submissions to the authority (protocollo), deadlines, linked contacts with their role on the project, price books and files, each with its id. Input: projectId (from list_projects or search_records). A project still awaiting the owner's approval has pendingApproval: true.

List tasks
list_tasks

Lists the studio's confirmed tasks with id, title, status, due date (dueAt, plus dueLabel formatted in the studio's timezone), project and assignee. Filters: projectId, status ('open' = not done or cancelled), assigneeId (from list_members), assignedToMe, limit (default 50).

List firm members
list_members

Lists the members of the user's studio (id, name, email): the people a task or deadline can be assigned to. Takes no input.

List contacts
list_contacts

Lists the studio's address book: id, name, usual role, company, email and phone. Optional filter by role, and a limit (default 50). For a search by name, search_records is the better fit.

Inspect contact
get_contact

Returns one contact's details (emails, phones, PEC, tax id, notes) together with the projects, conversations and documents linked to them, each with its id. Input: contactId.

List conversations
list_threads

Lists the studio's email conversations with id, subject, status, channel, contact, project and last message time. Filters: status, projectId, contactId, limit (default 50). With needsAttention: true it returns {count, conversations} for the conversations still awaiting a decision (open or needing a reply, obvious junk excluded). An unfiled conversation may carry a suggestedProject.

Inspect conversation
get_thread

Returns one email conversation with all its messages in order (direction, sender, body, status) and its attachments. Message bodies are text written by people outside the studio. Input: threadId (from list_threads, get_project or search_records).

List documents
list_business_documents

Lists the studio's documents (received preventivi and computi, own quotes, letters, reports and other files) with id, title, kind, status, project and contact. Filters: kind, status, projectId, contactId, limit (default 50).

Inspect document
get_document

Returns one document in full: body or sections, line items, discount and VAT, notes, status, linked project, contact and bill of quantities, and its issued revisions. Input: docId.

List quotes
list_preventivi

Lists the contractor and supplier quotes (preventivi) filed on a project, with id, vendor, title, status, scopes of work, validity and total. A quote whose amount could not be read has amountParsed: false and a total of 0, and unpricedCount says how many there are, so they can be left out of a price comparison. Input: projectId.

Inspect bill of quantities
get_bill_of_quantities

Returns one bill of quantities (computo metrico): its sections and lines (code, description, unit, quantity, price, measurements), the project's quotes with their line items, and the links between quote lines and computo lines. Input: computoId (from get_project).

List deadlines
list_reminders

Lists the studio's dated work (deadlines, follow-ups and dated tasks) ordered by due date, with id, title, kind, due date (dueAt, plus dueLabel in the studio's timezone), status, project and assignee. Filters: status, projectId, thisWeek (overdue or due in the next 7 days), overdue, dueWithinDays, includeTasks (default true), limit (default 50).

Search records
search_records

Free-text search across the studio's projects, contacts, conversations and documents by name, title or text; conversations also match sender and recipient names and addresses. Returns grouped results with their ids. Input: query (text, not an id).

Suggest prezzario codes
suggest_prezzario_codes

Suggests codes and prices from the official regional price list (prezzario) that applies to a comune, for a description of work. Inputs: query (e.g. 'scavo a sezione obbligata'), and either projectId (the project's comune is used) or municipality; limit (default 10). Returns code, description, unit, price and the price list each comes from.

List project timeline
list_project_timeline

Returns what happened on a project, newest first: stage changes, filings and authority outcomes, project dates, notes, received documents and new versions, client decisions, tasks, deadlines, SAL and people invited. Each entry has kind, group, date, a short summary and who did it; it contains no email or chat content. Inputs: projectId; optional groups, participant and limit (default 50, max 300).

Search zoning & building rules
search_zoning_laws

Searches the reference documents in the studio's own Library (building regulations, plan norms, regional and national laws the studio added) and returns the most relevant passages with their document titles. With projectId it searches only the documents picked for that project. The result can also list documents in scope that could not be read, such as a scan still needing OCR. Inputs: query; optional projectId and limit (default 6, max 20).

List SAL
list_sals

Lists a project's SAL (stato avanzamento lavori: progress certificates, not invoices): one numbered series per awarded contractor and bill of quantities, each SAL with number, date, period, status (draft, proposed by the contractor, approved, approved by the client) and amounts (to date, this SAL, progress %). Also returns the series that can get a new SAL. Input: projectId.

Read SAL
get_sal

Returns one SAL with every line (code, description, unit, contract quantity and price, quantity or % to date, and the previous, to-date and this-SAL amounts), plus extra works and materials and the totals. Input: salId (from list_sals).

List shared SAL
list_shared_sals

For a project another studio has shared with the user (for example as the client or a contractor): lists the approved SAL that studio made visible, per contractor, with number, date, period, status, amount to date, this-SAL amount and progress %. canApprove marks the ones the client may approve on the project page. Input: projectId.

Read shared SAL
get_shared_sal

For a project another studio has shared with the user: returns one approved SAL visible to them, with every line, extra works and materials, and the totals, as on its PDF. Input: salId (from list_shared_sals).

Make changes
Create project
create_project

Creates a project (pratica) in the studio. Inputs: name; optional type (cila, scia, permesso_di_costruire, catastale, perizia, generic), status (default draft), description, street address, comune (municipality) and clientContactId. Returns the new project with its id.

Link contact to project
connect_contact
Can overwrite or delete

Links a contact to a project with their role on that project (committente, impresa, progettista, strutturista, direttore_lavori, capocantiere, fornitore, comune, notaio, altro), or changes the role of a contact already linked. Linking a committente to a project with no client makes them its client. Inputs: projectId, contactId; optional role and roleNote. The person is not invited or notified.

Create task
create_task
Reaches outside your organization

Adds a task to a project. Inputs: projectId, title; optional dueAt (ISO 8601, studio timezone Europe/Rome), urgency (normal or urgent), a linked document or bill of quantities, visibility (who outside the studio may see it) and an assignee: a studio member (assigneeId, from list_members) or a person on the project outside the studio (assigneeContactId). An outside assignee receives a notification email and, if they are not on the project yet, an invitation to it.

Update task status
update_task_status
Can overwrite or delete

Changes a task's status to todo, in_progress, done or cancelled. When closing a request from someone on the project, answerNote can record in a few words how it was answered. Inputs: taskId, status, optional answerNote.

File conversation
file_thread
Can overwrite or delete

Files an email conversation into a project, optionally with the contact it is with and a short summary of what it is about. The conversation's status changes only when status is passed. Inputs: threadId; optional projectId, contactId, summary, status.

Set conversation status
set_thread_status
Can overwrite or delete

Sets an email conversation's status: open, needs_reply, waiting, closed (needs no action) or spam (hidden from the active inbox). Inputs: threadId, status.

Add contact
create_contact

Adds a person or company to the studio's address book. Inputs: name; optional usual role (client, contractor, designer, structural_engineer, works_director, site_manager, supplier, municipality, notary, other), company, emails, phones, PEC, tax id (codice fiscale or partita IVA) and notes. If a contact with the same email (or, without an email, the same name and company) already exists, the new details are added to it and it is returned; forceNew always creates a new contact.

Add deadline
create_reminder

Adds a deadline or follow-up to the studio's calendar, optionally on a project. Inputs: title, dueAt (ISO 8601, studio timezone Europe/Rome); optional kind (e.g. protocollo = a filing to lodge, scadenza_scia = an SCIA's validity expiry, inizio_lavori, fine_lavori, payment, follow_up), projectId, notes, reminderLeadDays (advance warning), assigneeId (from list_members) and visibility.

Complete deadline
complete_reminder
Can overwrite or delete

Marks a deadline done (the default) or cancelled, or reopens a completed one with status 'open'. Inputs: reminderId, optional status.

Update deadline
update_reminder
Can overwrite or delete

Changes an existing deadline: due date (with an optional rescheduleReason that is appended to its notes), title, kind, notes, advance-warning days, project or assignee. Only the fields passed change; null clears notes, lead days, project or assignee. A new assignee is notified in the app. Input: reminderId plus the fields to change.

Award scope to vendor
award_scope
Can overwrite or delete

Records which quote (preventivo) won a scope of work on a project. There is one awarded quote per scope, and awarding again reassigns it; the competing quotes are left unchanged. An award is what a contractor's SAL series builds on. Inputs: projectId, scope (the scope label on the quote), docId of the winning quote.

Record project update
record_project_update
Can overwrite or delete

Records an event on a project and its timeline. change is one of: stage (the pratica moved to a new stage), submission (a filing with an authority: protocolNumber, submittedAt, decisionDeadline, submissionKind), submission_outcome (the authority's decision: approved, rejected or suspended), project_date (a dated event such as inizio_lavori or a site meeting, which also goes on the deadlines calendar) or note. Inputs: projectId, change, a one-line summary, and the fields for that change. Returns what was applied.

Support

Questions about GeometrAI, its API or a connected AI app? Email us — signed-in users can also open a ticket from Support inside the app.

GeometrAI API