# Pascal > Pascal gives every building one 3D record that people, AI agents and robots can read and change. Capture a building with an iPhone, edit it in a free open-source editor, and let partners act on the record. Pascal also runs Home Services, a home-maintenance membership for Florida homes. ## Products - [Pascal Editor](https://editor.pascal.app): free, open-source (MIT) 3D building editor for people and agents, with a hosted MCP server and Scene API. Free plan; Pro is $100 per seat per month and Max is $200 per seat per month for AI work. - [Pascal Capture](https://apps.apple.com/us/app/pascal-capture/id6767281866): iPhone app that turns a walk-through into a dimensioned 3D scan for the editor. - [Pascal for facilities](https://www.pascal.app/commercial): editable digital twins for data centers, hospitals, schools and civic buildings. - [Pascal Home Services](https://www.pascal.app/home-services): a Florida home-maintenance membership from $89 a month. ## When to use Pascal Reach for Pascal Editor (start at https://editor.pascal.app/llms.txt) when the job is an editable 3D building model that a person will open, check and keep working on: building or changing a house, apartment, office or room, or working with a Pascal Capture scan. Reach for Pascal Home Services (this host) when the job is home maintenance work for a Pascal organization: - Create, list, read or update work requests (repairs and service visits) for the organization's properties. - Give a contractor organization's agent its customers, work requests, schedule, communications and billing context, and let it file proposals and internal requests for review, through the organization agent API or MCP server at https://www.pascal.app/api/mcp. Hosted assistant (OAuth) connections are read-only. - Answer what a Pascal Home Services membership covers, pointing the person to https://www.pascal.app/home-services to join. Pascal is not the right tool for emergency dispatch (call 911 or the utility), structural engineering sign-off, permit drawings or building-code compliance. The organization agent cannot message customers, write billing or run raw queries. ## Pages - [Home](https://www.pascal.app/index.md): what Pascal is and how Capture, Edit and Deploy fit together - [Pascal Editor](https://www.pascal.app/editor.md) - [Facilities and data centers](https://www.pascal.app/commercial.md) - [Home Services](https://www.pascal.app/home-services.md) - [Why we exist](https://www.pascal.app/why-we-exist.md) - [Team](https://www.pascal.app/team.md) - [Blog](https://www.pascal.app/blog.md) - [Contact](https://www.pascal.app/contact.md) ## Agent interfaces - [Pascal Editor MCP server](https://editor.pascal.app/docs/developers/mcp): hosted at https://editor.pascal.app/api/mcp; [server card](https://editor.pascal.app/.well-known/mcp/server-card.json), [auth](https://editor.pascal.app/auth.md) - [Organization agent MCP server](https://www.pascal.app/api/mcp): Home Services contractors; [server card](https://www.pascal.app/.well-known/mcp/server-card.json), [auth](https://www.pascal.app/auth.md) - [API catalog](https://www.pascal.app/.well-known/api-catalog), [OpenAPI description](https://www.pascal.app/api/openapi.json), [agent registry](https://www.pascal.app/.well-known/ard.json) - Any page answers in Markdown when you send `Accept: text/markdown`; full text in [llms-full.txt](https://www.pascal.app/llms-full.txt). ## Optional - [Blog](https://www.pascal.app/blog.md) (posts at https://www.pascal.app/blog/.md) - [Brand guidelines](https://www.pascal.app/brand) - [Privacy](https://www.pascal.app/privacy.md), [Terms](https://www.pascal.app/terms.md) ## Home Services API > Base URL: https://www.pascal.app ## Authentication The Home Services API requests described below require an API key. Include it in your request headers: ``` x-api-key: pascal_your_api_key_here ``` Or as a Bearer token: ``` Authorization: Bearer pascal_your_api_key_here ``` API keys are organization-scoped and can be created from the Account page in the Pascal web app. ## Endpoints The API uses tRPC. All endpoints are at `/api/trpc/{procedure}`. ### Work Requests #### Create Work Request ``` POST /api/trpc/workRequest.apiCreate Content-Type: application/json { "json": { "projectName": "Repair HVAC Unit", "description": "AC unit in Building A not cooling properly", "priority": "high", "propertyId": "property_xxx" } } ``` **Parameters:** - `projectName` (required): Name of the work request - `description` (required): Detailed description - `priority` (optional): "low" | "normal" | "high" | "urgent" (default: "normal") - `status` (optional): "pending" | "accepted" | "in_progress" | "completed" | "cancelled" (default: "pending") - `propertyId` (optional): Property ID. If omitted, uses organization's first property. - `budget` (optional): Budget amount as string - `deadline` (optional): ISO 8601 date string - `notes` (optional): Additional notes - `attachmentUrls` (optional): Array of attachment URLs **Response:** ```json { "result": { "data": { "json": { "id": "work_request_abc123", "projectName": "Repair HVAC Unit", "description": "AC unit in Building A not cooling properly", "propertyId": "property_xxx", "status": "pending", "priority": "high", "createdAt": "2026-02-04T12:00:00.000Z", "updatedAt": "2026-02-04T12:00:00.000Z" } } } } ``` #### List Work Requests ``` GET /api/trpc/workRequest.apiList?input={"json":{}} ``` **Query Parameters (in input JSON):** - `propertyId` (optional): Filter by property - `status` (optional): Filter by status - `limit` (optional): Max results (1-100, default: 50) - `offset` (optional): Pagination offset (default: 0) **Example with filters:** ``` GET /api/trpc/workRequest.apiList?input={"json":{"status":"pending","limit":10}} ``` **Response:** ```json { "result": { "data": { "json": [ { "id": "work_request_abc123", "projectName": "Repair HVAC Unit", "propertyId": "property_xxx", "status": "pending", "property": { "id": "property_xxx", "name": "Building A" }, "contractor": null } ] } } } ``` #### Get Work Request ``` GET /api/trpc/workRequest.apiGet?input={"json":{"id":"work_request_abc123"}} ``` **Response:** ```json { "result": { "data": { "json": { "id": "work_request_abc123", "projectName": "Repair HVAC Unit", "description": "AC unit in Building A not cooling properly", "propertyId": "property_xxx", "status": "pending", "priority": "high", "property": { "id": "property_xxx", "name": "Building A" }, "contractor": null, "createdAt": "2026-02-04T12:00:00.000Z", "updatedAt": "2026-02-04T12:00:00.000Z" } } } } ``` #### Update Work Request ``` POST /api/trpc/workRequest.apiUpdate Content-Type: application/json { "json": { "id": "work_request_abc123", "data": { "status": "in_progress", "notes": "Technician dispatched" } } } ``` **Parameters:** - `id` (required): Work request ID - `data` (required): Object with fields to update (same as create, all optional) ## Error Handling Errors return this structure: ```json { "error": { "json": { "message": "Organization has no properties. Create a property first.", "code": -32600, "data": { "code": "BAD_REQUEST", "httpStatus": 400 } } } } ``` **Common Error Codes:** - `UNAUTHORIZED` (401): Invalid or missing API key - `FORBIDDEN` (403): Key doesn't have access to resource - `NOT_FOUND` (404): Resource not found - `BAD_REQUEST` (400): Invalid input - `RATE_LIMITED` (429): Too many requests ## Rate Limits - 100 requests per minute per API key - Rate limit resets every minute - Exceeding limit returns `UNAUTHORIZED` until reset ## Organization Scope API keys are scoped to a single organization. You can only: - Access work requests for properties in your organization - Create work requests for properties in your organization Attempting to access resources outside your organization returns `FORBIDDEN`. ## Example: Create and Track Work Request ```bash # Create a work request curl -X POST "https://www.pascal.app/api/trpc/workRequest.apiCreate" \ -H "x-api-key: pascal_your_key" \ -H "Content-Type: application/json" \ -d '{ "json": { "projectName": "Replace Light Fixtures", "description": "Replace fluorescent lights with LED in cafeteria", "priority": "normal" } }' # Check status curl -X GET "https://www.pascal.app/api/trpc/workRequest.apiGet?input={\"json\":{\"id\":\"work_request_xxx\"}}" \ -H "x-api-key: pascal_your_key" # Update status curl -X POST "https://www.pascal.app/api/trpc/workRequest.apiUpdate" \ -H "x-api-key: pascal_your_key" \ -H "Content-Type: application/json" \ -d '{ "json": { "id": "work_request_xxx", "data": { "status": "completed" } } }' ``` ## Support For API issues, contact support@pascal.app or visit https://www.pascal.app/support