Exécutez n'importe quelle action avec une requête POST. Transmettez votre clé en tant que jeton du porteur (bearer token).
curl https://geometrai.ai/api/rest/actions \
-H "Authorization: Bearer kav_..."POST https://geometrai.ai/api/rest/actions/{action}Pointez n'importe quel client Model Context Protocol vers l'endpoint ci-dessous. Il propose les outils répertoriés dans la section Outils MCP, dans la limite des autorisations de votre rôle.
https://geometrai.ai/api/mcpAuthorization: Bearer kav_...Ajoutez GeometrAI à Claude, ChatGPT ou un autre assistant IA en tant que connecteur, et demandez-lui de rechercher des informations ou d'effectuer des modifications pour vous en langage naturel. Il se connecte en tant que vous-même, il ne voit donc que ce que vous êtes autorisé à voir.
https://geometrai.ai/api/mcpClaude s'ouvre avec le connecteur pré-rempli. Pour ChatGPT, Le Chat, Cursor et d'autres, sélectionnez-les à l'aide de la flèche pour obtenir une aide étape par étape.
Si votre client MCP ne peut pas se connecter via le navigateur, utilisez plutôt une clé API, exactement comme pour l'API REST ci-dessus :
Authorization: Bearer kav_...Votre assistant ne peut faire que ce que votre propre rôle dans GeometrAI vous autorise à faire — rien de plus.
Choisissez un accès en lecture seule si vous souhaitez uniquement consulter des informations sans jamais les modifier.
Chaque modification effectuée est enregistrée dans le journal d'audit, exactement comme si vous l'aviez faite vous-même.
Vous pouvez le déconnecter à tout moment depuis Paramètres → Applications connectées.
Ce qu'une application d'IA connectée à GeometrAI peut faire. Une connexion en lecture seule n'inclut que le premier groupe ; votre rôle au sein de l'organisation détermine toujours ce que chaque outil est autorisé à consulter.
list_projectsLists 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.
get_projectReturns 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_tasksLists 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_membersLists the members of the user's studio (id, name, email): the people a task or deadline can be assigned to. Takes no input.
list_contactsLists 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.
get_contactReturns 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_threadsLists 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.
get_threadReturns 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_business_documentsLists 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).
get_documentReturns 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_preventiviLists 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.
get_bill_of_quantitiesReturns 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_remindersLists 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_recordsFree-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_codesSuggests 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_timelineReturns 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_lawsSearches 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_salsLists 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.
get_salReturns 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_salsFor 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.
get_shared_salFor 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).
create_projectCreates 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.
connect_contactLinks 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_taskAdds 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_statusChanges 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_threadFiles 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_thread_statusSets an email conversation's status: open, needs_reply, waiting, closed (needs no action) or spam (hidden from the active inbox). Inputs: threadId, status.
create_contactAdds 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.
create_reminderAdds 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_reminderMarks a deadline done (the default) or cancelled, or reopens a completed one with status 'open'. Inputs: reminderId, optional status.
update_reminderChanges 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_scopeRecords 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_updateRecords 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.
Des questions sur GeometrAI, son API ou une application d'IA connectée ? Envoyez-nous un e-mail — les utilisateurs connectés peuvent également ouvrir un ticket depuis le Support dans l'application.