create_application
Create a workspace-scoped application for a zero-app OAuth grant.
Input schema
Section titled “Input schema”{ "additionalProperties": false, "properties": { "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "google_analytics_measurement_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Google Analytics Measurement Id" }, "idempotency_key": { "title": "Idempotency Key", "type": "string" }, "name": { "title": "Name", "type": "string" }, "slug": { "title": "Slug", "type": "string" }, "status": { "default": "active", "title": "Status", "type": "string" }, "trusted_image_origins": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Trusted Image Origins" } }, "required": [ "name", "slug", "idempotency_key" ], "title": "create_applicationArguments", "type": "object"}Output schema
Section titled “Output schema”{ "description": "Schema for application data in responses.", "properties": { "allowedOrigins": { "items": { "type": "string" }, "title": "Allowedorigins", "type": "array" }, "auditRetentionDays": { "default": 91, "title": "Auditretentiondays", "type": "integer" }, "componentPack": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Componentpack" }, "createdAt": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Createdat" }, "createdBy": { "format": "uuid", "title": "Createdby", "type": "string" }, "customDomain": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Customdomain" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description" }, "googleAnalyticsMeasurementId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Googleanalyticsmeasurementid" }, "icon": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Icon" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "identityModelId": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Identitymodelid" }, "identitySettings": { "additionalProperties": true, "title": "Identitysettings", "type": "object" }, "mcpSettings": { "additionalProperties": true, "title": "Mcpsettings", "type": "object" }, "modelsWithoutApiKeyAccess": { "items": { "format": "uuid", "type": "string" }, "title": "Modelswithoutapikeyaccess", "type": "array" }, "name": { "title": "Name", "type": "string" }, "nextStep": { "description": "Reauthorization instruction returned with a bootstrap grant.", "type": "string" }, "previewOrigin": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "HTTPS origin of the preview host (`<label>--preview.<parent>`) of the assigned platform subdomain, or null when no platform subdomain is assigned, no parent is configured, or the label cannot carry the preview suffix.", "title": "Previeworigin" }, "pushRegistrations": { "anyOf": [ { "description": "Active registrations per platform; the application read shapes carry it.", "properties": { "apns": { "default": 0, "title": "Apns", "type": "integer" }, "fcm": { "default": 0, "title": "Fcm", "type": "integer" } }, "title": "PushRegistrationCountsResponse", "type": "object" }, { "type": "null" } ], "description": "Active push device registrations of this application per platform (`apns`, `fcm`). Counts only, never tokens. Present on single-application reads, admin updates and imports; null elsewhere." }, "reauthorizationRequired": { "description": "Present and true when the bootstrap grant must reconnect.", "type": "boolean" }, "settings": { "additionalProperties": true, "title": "Settings", "type": "object" }, "slug": { "title": "Slug", "type": "string" }, "status": { "title": "Status", "type": "string" }, "tenantId": { "format": "uuid", "title": "Tenantid", "type": "string" }, "trustedImageOrigins": { "items": { "type": "string" }, "title": "Trustedimageorigins", "type": "array" }, "updatedAt": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Updatedat" }, "warnings": { "description": "Notices about this update that the caller must surface. Enabling `mcpSettings.allow_anonymous` returns: 'This endpoint now serves tools to unauthenticated callers; tools currently flagged anonymous: {tools}.'", "items": { "type": "string" }, "title": "Warnings", "type": "array" }, "workspaceId": { "format": "uuid", "title": "Workspaceid", "type": "string" } }, "required": [ "id", "tenantId", "workspaceId", "name", "slug", "status", "createdBy" ], "title": "ApplicationResponse", "type": "object"}