Carefox
API read and file importCAIRE can read planning data from a connected account and import reports. The customer account, units and actual provider connection must be verified. Journal write-back is not qualified.
System websiteDevelopers
The platform architecture and everything for integrations on one page: the core and data layers, CAIRE Connect (Partner API), MCP for AI assistants and the API reference.
CAIRE Connect (beta) links CAIRE to your other systems. A connected system can read units, clients, staff, visits and published plans, read analyses and send requests that a planner then decides on. You decide which units and which data each connection can reach.
A partner request does not itself change the plan. The planner reviews cancellations and time-change preferences. Initial publication belongs to the planner; applied operational changes follow controlled revision rules.
How the core, the interfaces, the planning data layers, the platform components and security fit together.
External systems and agents on the left reach a shared core through Connect or MCP. CAIRE surfaces on the right use the same core.
Standing facts become a dated planning problem; immutable solutions feed one current published plan.
Web, mobile, API, workers and external services have separate responsibilities around one data model.
Identity, permission, organization and unit scope, database isolation, field rules and audit protect each operation.
Existing systems above CAIRE, office roles on the left, field staff and clients on the right, supporting services below.
Existing care systems
care decisions, visits, staff
import by file or API
Planners
build, compare and publish
plans; handle the day
Managers
follow key figures, staffing
and plan against reality
Administrators
units, staff, clients,
settings and user access
plan, approve · follow up · set up, govern
Caire
the AI operating system for home care
Planner web app
Caregiver, client and family app
Optimization and analysis
AI
Ask Caire assistant
AI
The planner approves publication.
Every change is a new version.
Clients request a cancellation, a different visit time or an absence in the app once the provider turns it on. The office records requests that arrive by phone, SMS and email, and the planner decides.
Caregivers
today's route and visits;
sick calls, swaps, delays
Clients and families
upcoming visits, who is
coming, delay notices
Providers evaluating Caire
free analysis of their own
plan; Ask Caire on caire.se
routes, changes · reports, requests · visit times · upload a plan
Optimization
routes and shifts
AI models
hosted in the EU
Sign-in
identity, organisations
Messaging
push and e-mail
Maps
addresses, travel
External systems and agents on the left reach a shared core through Connect or MCP. CAIRE surfaces on the right use the same core.
Care systems · visits
Care decisions · case handling
Workforce · HR
Attendance · finance
Excel and report files
AI agents and copilots
CAIRE Connect
Partner API
Scoped API keys
MCP
User sign-in
User permissions
Permissions · receipts
Home-care data model
decisions · care plans · visits · staff
Operation layer (GraphQL)
read · simulate · propose · publish
Optimisation
proposals · comparisons
Verification and audit
constraint gate · ledger · approvals
Planner dashboard
Caregiver app
Client & family app
Ask CAIRE
Reports, exports
MCP: personal sign-in and permissions
Partner API: organisation API key, units and data permissions
A registered Core operation declares input, authority, unit scope, product access, verification and a receipt. Interfaces translate user intent into the operations exposed by their profile.
For eligible Scheduler units, automatic planning is on by default with a rolling four-week horizon. You do not need to create or enqueue every week yourself. The unit’s setting can be changed to one through eight weeks, and an explicit opt-out is preserved.
The overnight batch evaluates the horizon daily. Accepted source changes refresh the affected draft alternatives; unchanged input retains its results. Manual adjustments and explicitly requested recalculation remain available. Saved historical solutions are retained.
Preparing future drafts does not publish them. The planner initially publishes a selected solution; real-time rules then govern revisions of that published current plan.
Explore the data layers, publication and optimization flowStanding facts become a dated planning problem; immutable solutions feed one current published plan.
Standing data
Organisation and units
Employees and their shifts
Clients and care decisions
Care plans and visit templates
Skills, districts, settings
Schedule
One dated week; four-week horizon by default, up to eight weeks
Visits for the period
Shifts for the period
Frozen settings
The automatic batch prepares each future week from accepted input; manual overrides remain available.
Immutable solve snapshots
assignments, routes,
metrics and evidence
Saved results are never rewritten.
Controlled revisions · updated routes · real-time apps
Initial publication is manual; completed work and next visits are protected.
The planner, API, worker and engine retain a reproducible chain from frozen input to reviewed publication.
freeze a copy, queue the job
notify
claim the job under a lease
submit the model
signed completion
fetch solution and analysis
save a new, immutable version
the version appears
choose and publish
Web, mobile, API, workers and external services have separate responsibilities around one data model.
Planners, managers
and administrators
Caregivers, clients
and families
Edge
TLS
Web app
single-page app
API
GraphQL over HTTPS
and WebSocket
Optimization worker
one leased job at a time
Integration worker
connector imports
PostgreSQL
managed database (RDS)
Language models
Azure OpenAI, Sweden Central
Optimization engine
route and shift optimisation
Care system API
Organisation-scoped connection
Platform services
Sign-in · Clerk
Billing · Stripe
E-mail · Resend
Push · Expo
Errors · Sentry, EU
Map tiles · Mapbox
Identity, permission, organization and unit scope, database isolation, field rules and audit protect each operation.
Encrypted
TLS protects transport at the edge; HTTP is redirected to HTTPS.
Signed in
The sign-in token is verified on every request.
Permission
The required permissions are granted through the caller’s role.
Organisation and unit
Each read and write is scoped to the caller’s organization and permitted unit.
Row security
Database policies enforce organization isolation as a second boundary.
Sensitive fields
Data-class and field permissions control which protected information is returned or reaches a model.
Audit
Health-data reads and governed changes are recorded in the audit trail.
Each service receives the projection needed for its task, with care data separated from public website assistance.
Caire platform
Standing data, schedules and solutions
Audit trail, approvals, publication receipts
Source identity and protected personal data
Care system API
scoped import and reviewed acceptance
Sign-in · Clerk
names, e-mail, organisation roles
Optimization
locations, times, skills; opaque ids
Language models · Azure
Sweden Central; minimized projections
Billing · Stripe
organisation billing details
E-mail · Resend
address and message
Push · Expo
neutral text only
Errors · Sentry, EU
technical error events
Maps · Mapbox
map views, address previews, route legs
Public assistant · OpenAI
visitors' questions only
This is how you make the first read. Replace the placeholders with your API key's client ID and secret.
# 1. Get an access token
curl -s -u "$CLIENT_ID:$CLIENT_SECRET" \
-d grant_type=client_credentials \
https://app.caire.se/api/partner/v1/oauth/token
# 2. Read the units the key may use
curl -s -H "Authorization: Bearer $ACCESS_TOKEN" \
https://app.caire.se/api/partner/v1/service-areasWhat Connect is used for, which permissions and data exist, how events, receipts and error codes work, and how to get started.
Each step has a clear responsibility. Receiving data is separate from publishing a plan or applying it in another system.
Planning input from a connected system or supported file.
Checks for source identity, unit and permitted data exchange.
An authorised person reviews input before it is used.
CAIRE creates and compares proposals within operating constraints.
The planner selects the plan that may be used.
An authorised partner can read the plan and record an application receipt.
The Partner API must be enabled for your organisation. An administrator creates API keys under Settings → Integrations and chooses which units and permissions each key gets.

A connected partner with the required permission can submit planning input to Connect and follow its status. Input waits for review; receiving it does not start optimisation or publish a plan.
An authorised planner reviews the source, unit, visits, staff and planning rules before accepting the input. A dated plan is then created and optimised through CAIRE’s ordinary planning workflow.
Available data and any write-back are established for each connection. Partner API support for published plans and receipts does not mean a source system can automatically receive changes.
A request for a cancellation, a new time or an absence reaches the planner as pending. A cancellation or new time does not take effect until a planner has approved the request. Your system follows the status by reading the request or through a webhook event, and can withdraw a request that is still pending.
Receipt: once your system has received a published plan, it can send a receipt with the outcome applied, partially applied or rejected, and a reason for each visit it could not apply. The receipt does not change the plan. A receipt can only be sent for the plan that is currently published. You can read your own receipts for a plan.
Deletions: a unit's deletions list shows the identifier and type of records that have been permanently deleted, for example clients, employees, visits or plans. You see only records the key may read. An archived client is not deleted; it stays in the read with status archived. Use the list to remove the same data from your system.
Keep resource IDs, call IDs, status and receipts in your integration. A successful call only means that call succeeded. Check separately whether a request has been approved and whether a plan has been published.
For refused access, the administrator checks the key's status, who it is linked to, its permissions and units. For event problems, the developer checks the address, the signature and the delivery log. Log identifiers and error codes, not bodies containing personal data.
Revoke the key when it is no longer needed. All its access tokens then stop working at once. Create a new secret when needed and follow your organisation's incident routine.
Status describes available and planned flows. Access depends on customer permissions and verification with the provider.
CAIRE can read planning data from a connected account and import reports. The customer account, units and actual provider connection must be verified. Journal write-back is not qualified.
System websiteVisit and client Excel reports can be reviewed and imported into CAIRE. API credentials can be saved, but an active API sync is not qualified.
System websiteAPI credentials can be saved. No data flow or sync is qualified.
System websiteThe organization administrator can configure OAuth. Customer and invoicing flows are not qualified.
System websiteClient credentials can be saved for future shift reads. No import or sync is active.
System websiteTime and execution data flows are not qualified.
System websitePlanned integration for visit information and requests to the planner. The actual Eldra flow is not qualified.
System websitePlanned HR integration. The data flow needs to be agreed and qualified; no Sympa sync is active.
System websiteConnect includes tooling for a synthetic-data sandbox. Contact CAIRE to check access; an active partner environment is not confirmed here.
The planner initially publishes the chosen visit plan. Sickness, cancellations, delays and execution events then affect the current operational plan. Approved staffing changes and permitted retiming or resequencing create a new revision, with a base version and receipt.
Changes remain within their permitted windows and protect completed work and the caregiver’s next visit. A change outside those boundaries returns to the planner. A computed alternative is applied only through the current plan’s revision rules; affected connected apps receive the updated route in real time.
Clients can request a visit cancellation in the app when enabled. Where the provider has also enabled them, clients can request another time or a future absence such as travel or a hospital stay; otherwise they contact the office. Employees can report absence and staffing requests through their app. Phone, SMS and email contacts follow the provider’s contact routines; authorized staff record the relevant planning change in CAIRE. Future client pauses are dated source changes for draft weeks, handled through the overnight refresh path. Real-time revision rules apply separately to the published current plan.
Explore the data layers, publication and optimization flowChoose a connection: calculate from aggregate numbers without a Caire account, or connect to your organisation’s planning with your own sign-in and permissions.
Connect a compatible AI tool to Caire’s public tools. No Caire account is needed; these tools retrieve no customer or schedule data.
ChatGPT MCP apps and Developer mode are not available on every account or workspace. If the feature is available to you, follow the current steps in Settings → Apps or workspace Apps, then complete any OAuth sign-in and security review. Current ChatGPT connection instructions
We have 1000 worked hours, 620 visit hours and 180 travel hours this month. What is our client-facing time percentage?
Use aggregate numbers in calculators and keep planning questions general. Never send names, identity numbers, addresses or health information.
This address is for your AI tool. Opening it in a browser takes you back to this guide.
For Caire customers: copy your organisation’s address from Settings → Integrations and sign in with your Caire account. Access requirements and instructions follow below.
MCP for care planning lets an AI tool you already use read your planning in CAIRE and prepare proposals for you. You start from Settings → Integrations, where the address for your organization is shown.
Planning reads and proposals do not publish a schedule. Clinical has separate operations to prepare and apply a care-plan draft. Application requires the same authorized person’s explicit confirmation of the exact contents, consent and current authority.
The card in Settings → Integrations lists five requirements and whether they are met. If something is missing, the card says who resolves it.
Go to Settings → Integrations and copy the address shown for your organization. Paste it into your AI tool and sign in with your CAIRE account in the browser when the tool asks. That is the whole setup.

The MCP connection works without skills. It gives the assistant described tools to discover organisations, units and schedules and read available planning data with your permissions. A skill is extra text instructions for how the assistant should work and present its answers. It adds no tools, data or permissions and does not guarantee a correct answer.
Without a skill you can still ask about weekly visits, metrics, continuity, unassigned visits and import results. Candidate comparisons, the operational time ledger, employee and client statistics, and staffing gaps from floor to peak require the corresponding tools in the connected server version – not an installed skill.
We recommend Planning analyst for recurring weekly follow-up. Add a specialist skill when the task needs it; you do not need all of them. For occasional questions, the connection and a clear question are often enough.
Download the file and add it using your AI tool’s skill support, or as project instructions. Downloading alone activates nothing. How instructions are used depends on the AI tool and its settings; check that they are available to the conversation. The ZIP collects the files and is not a universal installer for every AI tool.
Illustrative answers, not real customer results or a comparative test. Both cases use the same data and permissions. The assistant can give equally detailed answers without a skill; instructions help reuse a preferred workflow.
Question: “Which solution has the best metrics for Almlunden, week 38?” Without a skill: “B offers the best balance, A the highest client-time share and C the highest assignment rate.” With Planning analyst: the same winners, plus a repeatable comparison table with metrics, the solution period, missing measurements and a suggested follow-up. No skill may invent a winner when evidence is missing.
Question: “Do we have enough staff on Monday morning?” Without a skill the assistant can retrieve capacity and explain the gaps. With Staffing and capacity it follows a set sequence: the staffing basis used, the worst hours, the size of the gaps and a follow-up question. The skill creates no additional capacity or measurements.
Reading or analysing data does not change a schedule. The assistant must therefore not say “I updated the schedule” after only reading data. This applies with and without a skill.
MCP can also prepare a planning proposal for review in Caire. After confirmed creation, the assistant may say “A proposal has been created for review. The schedule has not changed.” A proposal is not approval or publication. For Clinical, application may be reported only after explicit human confirmation has been followed by successful application and a receipt.
Skills do not replace Caire’s permission or change controls. They cannot repair a missing connection or add functionality the server does not provide.
Ask in plain language with the unit's name and the week. The assistant finds the right schedule, asks when names are ambiguous, and reads planning data without client or employee names. Read questions do not change the schedule.
The week at a glance
Staffing and unassigned visits
Continuity and source data
The tools come from the MCP server's registration. MCP uses your CAIRE sign-in; external system authentication belongs to the Partner API. A skill adds instructions, not tools, and a webhook event is a notification, not a tool.
Authority and decision: User authority or a scoped partner key.
list_planning_scopeorg:caire_ai:use, org:scheduling:readAuthority and decision: Read permission and the data class required by the requested fields.
get_capacity_by_hourorg:caire_ai:use, org:scheduling:readget_continuityorg:caire_ai:use, org:scheduling:readget_staffing_overvieworg:caire_ai:use, org:scheduling:readget_unassigned_visitsorg:caire_ai:use, org:scheduling:readget_week_summaryorg:caire_ai:use, org:scheduling:readAuthority and decision: An authorized reviewer accepts input in CAIRE.
get_import_analysisorg:caire_ai:use, org:resources:read, org:scheduling:readAuthority and decision: The planner reviews and selects a solution; reads and slot recommendations do not publish a plan.
compare_solutionsorg:caire_ai:use, org:scheduling:readget_placement_findingsorg:caire_ai:use, org:scheduling:readget_schedule_analysisorg:caire_ai:use, org:scheduling:readget_scorecardorg:scheduling:readget_solution_capacityorg:caire_ai:use, org:scheduling:readget_solution_ledgerorg:caire_ai:use, org:scheduling:readlist_solution_candidatesorg:caire_ai:use, org:scheduling:readprepare_integrated_duration_changeorg:caire_ai:use, org:health:read, org:health:read_notes, org:resources:read, org:scheduling:readAuthority and decision: Separate authority and consent apply; an authorized human confirms the exact contents before application.
apply_clinical_care_plan_draftorg:caire_ai:use, org:health:read, org:health:read_notes, org:pii:read, org:resources:manage, org:resources:readprepare_clinical_care_plan_draftorg:caire_ai:use, org:health:read, org:health:read_notes, org:pii:read, org:resources:readCAIRE Connect (Partner API) v1.0.0. The list below is built from the OpenAPI description and shows every call with its method, path, permission and summary. The reference is read-only and needs no credentials.
Start with the units and planning periods visible to the connected user or partner. The shared care model gives each surface consistent references.
| Method | Path | Permission | Summary |
|---|---|---|---|
| GET | /problems/{code} | Protocol-defined | Read a fixed Partner API problem definition |
| POST | /oauth/token | Protocol-defined | Exchange client credentials for an access token |
| POST | /oauth/revoke | Protocol-defined | Revoke an access token (RFC 7009) |
| GET | /service-areas | Protocol-defined | The units this client may use |
Read clients, staff, skills, care plans, visits, shifts, absences and permission-scoped billing and payroll bases. Source identity, unit scope, field authority and data classes govern each read.
| Method | Path | Permission | Summary |
|---|---|---|---|
| GET | /service-areas/{serviceAreaId}/roster | roster:read | Read standing roster |
| GET | /service-areas/{serviceAreaId}/absences | roster:read | Read pending and approved absences |
| GET | /service-areas/{serviceAreaId}/care-decisions | careplans:read + data:health | Read granted care decisions |
| GET | /service-areas/{serviceAreaId}/care-plans | careplans:read | Read standing care plans |
| GET | /skills | staff:read | Read the organization's skill catalog |
| GET | /service-areas/{serviceAreaId}/billing-drafts | billing:read + data:financial | Read approved billing drafts |
| GET | /service-areas/{serviceAreaId}/billing-drafts/{billingDraftId} | billing:read + data:financial | Read one approved billing draft |
| GET | /service-areas/{serviceAreaId}/payroll-bases | data:employment_time + payroll:read | Read approved payroll time bases |
| GET | /service-areas/{serviceAreaId}/payroll-bases/{payrollBasisId} | data:employment_time + payroll:read | Read one approved payroll time basis |
| GET | /service-areas/{serviceAreaId}/visits | visits:read | Visits of a unit in a date range |
| GET | /service-areas/{serviceAreaId}/clients | clients:read | Clients of a unit |
| GET | /service-areas/{serviceAreaId}/staff | staff:read | Staff of a unit |
Submit care and workforce input through Connect. Review identifies the source, contents and changes before an authorized person accepts it. Declared source ownership determines authority over care facts and shifts.
| Method | Path | Permission | Summary |
|---|---|---|---|
| POST | /service-areas/{serviceAreaId}/imports | catalog:write + data:personal | Submit a catalog for explicit planner review |
| GET | /imports/{importId} | catalog:read | Read this client's catalog submission status |
| POST | /service-areas/{serviceAreaId}/workforce-submissions | data:personal + workforce:write | Stage original workforce facts for human review |
| GET | /service-areas/{serviceAreaId}/workforce-submissions/{submissionId} | data:personal + workforce:write | Read this sender's workforce submission status |
Automatic batch prepares weeks from accepted care plans and staffing, four weeks ahead by default for Scheduler. Changed input refreshes affected drafts; manual overrides remain available. Compare alternative visit plans. Scorecards combine eight measure categories, trend and a next step. Slot recommendations support adding a recurring visit.
| Method | Path | Permission | Summary |
|---|---|---|---|
| POST | /service-areas/{serviceAreaId}/visit-slot-recommendations | visitslots:read | Recommend slots for a new recurring visit |
| GET | /analyses/{analysisId} | analysis:read | Read a de-identified analysis |
| GET | /service-areas/{serviceAreaId}/analyses | analysis:read | List source-bound analyses for a unit |
| POST | /launch-tokens | analysis:read + launches:write or launches:write + plans:read | Mint a short-lived launch token |
The planner first publishes a selected visit plan. Partners retrieve the current published plan while the apps follow the same operational version. Withdrawn publication and subsequent revisions have explicit references.
| Method | Path | Permission | Summary |
|---|---|---|---|
| GET | /service-areas/{serviceAreaId}/published-plans | plans:read | Published plans of a unit |
| GET | /published-plans/{solutionId}/assignments | plans:read | Who does which visit in a published plan |
Clients can submit a cancellation in the app when the organization allows it. Requests for a different time or future absence can be sent in the app where the organization has enabled them, and otherwise go to the office; staff record and manage the change in CAIRE. Contact can use app messaging when enabled, phone, SMS or email through the provider’s contact channels. Connect accepts absence, cancellation and rescheduling requests through its defined API. CAIRE manages gaps, replacements and changes to the current plan. Approved staffing changes and permitted adjustments produce controlled revisions; other changes return to the planner.
| Method | Path | Permission | Summary |
|---|---|---|---|
| POST | /visits/{visitId}/cancellation-requests | requests:write | Ask a planner to cancel a future visit |
| POST | /visits/{visitId}/reschedule-requests | requests:write | Request a preferred visit window for planner review |
| POST | /staff/{employeeId}/absences | absence:write | Report an employee's absence for planner review |
| GET | /requests/{requestId} | requests:write or absence:write | A request this client created |
| DELETE | /requests/{requestId} | requests:write or absence:write | Withdraw a pending request |
Events report that a resource changed; the partner then reads the authorized current information. Application receipts record what the receiver applied, partly applied or rejected. Idempotency keys protect repeated writes.
| Method | Path | Permission | Summary |
|---|---|---|---|
| GET | /service-areas/{serviceAreaId}/deletions | clients:read or staff:read or visits:read or careplans:read or careplans:read + data:health or roster:read or plans:read or analysis:read | Read permitted physical deletions for one unit |
| GET | /published-plans/{solutionId}/receipts | plans:ack | List this partner's application receipts |
| POST | /published-plans/{solutionId}/receipts | plans:ack | Report application of the current published plan |
Clinical prepares bounded, source-linked care-plan proposals. A Connect call can prepare a draft. MCP separates preparation from explicitly confirmed application of the same requester’s proposal.
| Method | Path | Permission | Summary |
|---|---|---|---|
| POST | /clinical-care-plan-drafts/prepare | clinicaldrafts:prepare + data:health + data:health_notes + data:pii | Prepare a Clinical care-plan proposal for human review |
entity.deletedReceive entity.deletedplan.receipt_recordedReceive plan.receipt_recordedplan.publishedReceive plan.publishedplan.unpublishedReceive plan.unpublishedvisit.cancelledReceive visit.cancelledrequest.updatedReceive request.updatedanalysis.readyReceive analysis.readybilling.approvedReceive billing.approvedpayroll.approvedReceive payroll.approvedwebhook.testReceive webhook.testv1 · Beta
The Partner API is version v1. Within v1 only new fields, values and calls are added; your system should ignore fields and values it does not recognise. A change that is not backward compatible becomes v2, and v1 stays supported for at least 12 months after v2 is generally available.
An operation that is being retired answers with Deprecation and Sunset headers and a link to its replacement before it is removed.
Older addresses for Connect, MCP and the API reference forward to their sections on this page.