Udviklere

GeometrAI-API

Automatiser GeometrAI via en REST API, eller forbind den til en hvilken som helst MCP-klient — godkendt med en enkelt API-nøgle. REST-referencen herunder dækker alle handlinger; MCP-serveren tilbyder de værktøjer, der er oplistet under MCP-værktøjer.
REST-API

Udfør en handling med en POST-anmodning. Send din nøgle som et bearer-token.

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

Pezker enhver Model Context Protocol-klient mod slutpunktet herunder. Det tilbyder de værktøjer, der er oplistet under MCP-værktøjer, begrænset af det, din rolle tillader.

https://geometrai.ai/api/mcp
Authorization: Bearer kav_...
Forbind din AI-assistent

Lad din AI-assistent arbejde i GeometrAI for dig

Tilføj GeometrAI til Claude, ChatGPT eller en anden AI-assistent som en connector, og du kan bede den om at slå ting op eller foretage ændringer for dig i almindelig samtale. Den logger ind som dig, så den ser kun det, du har tilladelse til at se.

https://geometrai.ai/api/mcp

Claude åbner med connectoren udfyldt. For ChatGPT, Le Chat, Cursor og andre skal du vælge dem med pilen for at få trinvis hjælp.

Hvis din MCP-klient ikke kan logge ind via browseren, kan du i stedet bruge en API-nøgle, præcis som med REST API'et ovenfor:

Authorization: Bearer kav_...
Hvad din assistent kan (og ikke kan) gøre

Din assistent kan kun gøre det, som din egen rolle i GeometrAI tillader – intet andet.

Vælg skrivebeskyttet adgang, hvis du kun vil have den til at slå ting op og aldrig ændre dem.

Enhver ændring, den foretager, registreres i audit-loggen, ligesom en ændring du selv har foretaget.

Du kan til enhver tid afbryde forbindelsen under Indstillinger → Tilsluttede apps.

MCP-værktøjer

Hvad en AI-app forbundet til GeometrAI kan gøre. En skrivbeskyttet forbindelse henter kun den første gruppe; din rolle i organisationen afgør stadig, hvad hvert enkelt værktøj må røre ved.

Slå ting op
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).

Foretag ændringer
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
Kan overskrive eller slette

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
Rækker ud over din organisation

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
Kan overskrive eller slette

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
Kan overskrive eller slette

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
Kan overskrive eller slette

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
Kan overskrive eller slette

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

Update deadline
update_reminder
Kan overskrive eller slette

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
Kan overskrive eller slette

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
Kan overskrive eller slette

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

Spørgsmål om GeometrAI, dens API eller en tilsluttet AI-app? Send os en e-mail – brugere, der er logget ind, kan også oprette en supportanmodning inde fra appen.