{"openapi":"3.1.0","info":{"title":"ProcesOS API","description":"The operations of this ProcesOS instance that are offered to outside callers: the companion app, the website and API-key integrations. It describes this instance at its version. Each operation states its door; request and response shapes follow.","version":"3.21.0"},"tags":[{"name":"credentials"},{"name":"dashboard"},{"name":"diagrams"},{"name":"marketplace"},{"name":"notifications"},{"name":"personal"},{"name":"pricing"},{"name":"spaces"},{"name":"user"},{"name":"wizard"}],"components":{"securitySchemes":{"sessionCookie":{"type":"apiKey","in":"cookie","name":"better-auth.session_token","description":"The session cookie of a signed-in person."},"sessionBearer":{"type":"http","scheme":"bearer","description":"A session token from POST /api/user/session-token, presented as a bearer token. It acts as the person."},"apiKeyBearer":{"type":"http","scheme":"bearer","description":"A workspace or personal API key (pos_ followed by 64 hex characters), presented as a bearer token."},"apiKeyHeader":{"type":"apiKey","in":"header","name":"x-api-key","description":"The same API key in the x-api-key header."}}},"paths":{"/api/credentials/verify/{token}":{"get":{"operationId":"getCredentialsVerifyToken","summary":"Verifies a shared credential by its verification token, for anyone it was shown to.","tags":["credentials"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"token","apiKey":null,"bearerSession":false,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/dashboard":{"get":{"operationId":"getDashboard","summary":"The signed-in person's dashboard: responsibilities, open tasks and recent activity.","tags":["dashboard"],"parameters":[{"name":"space","in":"query","required":false,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"no","scopes":[]},"bearerSession":true,"stepUp":false,"membership":"guard","permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/diagrams/{id}":{"get":{"operationId":"getDiagramsId","summary":"One process diagram with its BPMN XML and metadata, if the caller may view it.","tags":["diagrams"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"in_route","scopes":[]},"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":["diagrams:edit","diagrams:view","gtt:manage"],"modules":[]},"x-procesos-depth":"door"}},"/api/diagrams/{id}/narration":{"post":{"operationId":"postDiagramsIdNarration","summary":"Generates a plain-language narration of a process diagram.","tags":["diagrams"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"in_route","scopes":[]},"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":["diagrams:view"],"modules":[]},"x-procesos-depth":"door"}},"/api/marketplace/listings":{"get":{"operationId":"getMarketplaceListings","summary":"Lists marketplace listings, filtered by the facets in the query.","tags":["marketplace"],"parameters":[{"name":"creatorSpaceId","in":"query","required":false,"schema":{"type":"string"}},{"name":"itemType","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"nearLat","in":"query","required":false,"schema":{"type":"string"}},{"name":"nearLng","in":"query","required":false,"schema":{"type":"string"}},{"name":"questCounts","in":"query","required":false,"schema":{"type":"string"}},{"name":"questGroup","in":"query","required":false,"schema":{"type":"string"}},{"name":"radiusKm","in":"query","required":false,"schema":{"type":"string"}},{"name":"skip","in":"query","required":false,"schema":{"type":"string"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"in_route","scopes":[]},"bearerSession":true,"stepUp":false,"membership":"guard","permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/marketplace/listings/{id}/evidence/files":{"post":{"operationId":"postMarketplaceListingsIdEvidenceFiles","summary":"Uploads a photo or PDF as quest evidence and answers the reference to cite.","tags":["marketplace"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"unchecked","scopes":[]},"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/marketplace/listings/{id}/runs":{"get":{"operationId":"getMarketplaceListingsIdRuns","summary":"Lists the passes of a quest's run lane.","tags":["marketplace"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"unchecked","scopes":[]},"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"},"post":{"operationId":"postMarketplaceListingsIdRuns","summary":"Starts the caller's own pass through a quest's run lane.","tags":["marketplace"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"unchecked","scopes":[]},"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/notifications":{"get":{"operationId":"getNotifications","summary":"The signed-in person's notifications, newest first, with unread counts.","tags":["notifications"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"unreadOnly","in":"query","required":false,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"no","scopes":[]},"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/personal/credential-assertions":{"get":{"operationId":"getPersonalCredentialAssertions","summary":"The credentials the signed-in person confirmed about themselves, and how each is known.","tags":["personal"],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/pricing":{"get":{"operationId":"getPricing","summary":"The public price list of this instance as data.","tags":["pricing"],"security":[],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"public","apiKey":null,"bearerSession":false,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/pricing/founding-slots":{"get":{"operationId":"getPricingFoundingSlots","summary":"How many founding seats are left, per workspace type.","tags":["pricing"],"security":[],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"public","apiKey":null,"bearerSession":false,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/spaces":{"get":{"operationId":"getSpaces","summary":"Lists the workspaces the signed-in person belongs to.","tags":["spaces"],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"in_route","scopes":[]},"bearerSession":true,"stepUp":false,"membership":"guard","permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/spaces/{id}/academy/courses/{slug}/enroll":{"post":{"operationId":"postSpacesIdAcademyCoursesSlugEnroll","summary":"Enrols the caller in a course of this workspace.","tags":["spaces"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"own_space","scopes":[]},"bearerSession":true,"stepUp":false,"membership":"guard","permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/spaces/{id}/capabilities/domain-progress":{"get":{"operationId":"getSpacesIdCapabilitiesDomainProgress","summary":"A person's progress in this workspace, grouped by life domain.","tags":["spaces"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"own_space","scopes":[]},"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/spaces/{id}/cmdb":{"get":{"operationId":"getSpacesIdCmdb","summary":"Lists the IT systems recorded in this workspace's CMDB.","tags":["spaces"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"includeDrafts","in":"query","required":false,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"own_space","scopes":["read_only"]},"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":["graph:view"],"modules":[]},"x-procesos-depth":"door"}},"/api/spaces/{id}/credentials":{"get":{"operationId":"getSpacesIdCredentials","summary":"Lists the credentials issued in this workspace, filtered by person, type or status.","tags":["spaces"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"type","in":"query","required":false,"schema":{"type":"string"}},{"name":"userId","in":"query","required":false,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"own_space","scopes":["read_only"]},"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":["members:view"],"modules":[]},"x-procesos-depth":"door"}},"/api/spaces/{id}/hiop/ingest":{"post":{"operationId":"postSpacesIdHiopIngest","summary":"Ingests hiop.io metrics into this workspace, idempotent per delivery id.","tags":["spaces"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"own_space","scopes":["hiop_ingest"]},"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":["hiop:manage"],"modules":[]},"x-procesos-depth":"door"}},"/api/spaces/{id}/members":{"get":{"operationId":"getSpacesIdMembers","summary":"Lists the members of this workspace with their roles.","tags":["spaces"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"own_space","scopes":[]},"bearerSession":true,"stepUp":false,"membership":"guard","permissionsConsulted":["members:changeRole","members:invite","members:kick","members:view","roles:manage","space:manage"],"modules":[]},"x-procesos-depth":"door"}},"/api/spaces/{id}/roles":{"get":{"operationId":"getSpacesIdRoles","summary":"Lists the roles of this workspace with their permissions.","tags":["spaces"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"own_space","scopes":["read_only"]},"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":["members:view"],"modules":[]},"x-procesos-depth":"door"}},"/api/user":{"get":{"operationId":"getUser","summary":"The signed-in person's own profile and resolved permissions.","tags":["user"],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"no","scopes":[]},"bearerSession":true,"stepUp":false,"membership":"guard","permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/api-keys":{"get":{"operationId":"getUserApiKeys","summary":"Lists the signed-in person's API keys, never their secrets.","tags":["user"],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"},"post":{"operationId":"postUserApiKeys","summary":"Creates an API key for the signed-in person, optionally bound to a workspace.","tags":["user"],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":true,"membership":"guard","permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"},"delete":{"operationId":"deleteUserApiKeys","summary":"Deletes one of the signed-in person's API keys.","tags":["user"],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/commitment-check/courses/{courseId}":{"get":{"operationId":"getUserCommitmentCheckCoursesCourseId","summary":"Whether a course would take the signed-in person now, without enrolling them.","tags":["user"],"parameters":[{"name":"courseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"locale","in":"query","required":false,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/commitment-check/listings/{listingId}":{"get":{"operationId":"getUserCommitmentCheckListingsListingId","summary":"Whether a quest would take the signed-in person now, without starting it.","tags":["user"],"parameters":[{"name":"listingId","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/core-chain":{"get":{"operationId":"getUserCoreChain","summary":"The signed-in person's three-node core capability chain, read only.","tags":["user"],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"no","scopes":[]},"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/credentials":{"get":{"operationId":"getUserCredentials","summary":"The credentials the signed-in person has earned, across all workspaces.","tags":["user"],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"no","scopes":[]},"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/devices":{"put":{"operationId":"putUserDevices","summary":"Registers this device of the signed-in person for push notifications.","tags":["user"],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/devices/{registrationId}":{"delete":{"operationId":"deleteUserDevicesRegistrationId","summary":"Removes a push registration of the signed-in person.","tags":["user"],"parameters":[{"name":"registrationId","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/first-quest":{"get":{"operationId":"getUserFirstQuest","summary":"The signed-in person's first quest and how far they are through it.","tags":["user"],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"no","scopes":[]},"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/goals":{"get":{"operationId":"getUserGoals","summary":"The signed-in person's private goals, by state, with their revisions on request.","tags":["user"],"parameters":[{"name":"include","in":"query","required":false,"schema":{"type":"string"}},{"name":"state","in":"query","required":false,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"},"post":{"operationId":"postUserGoals","summary":"Notes a private goal for the signed-in person, or forks one of their own.","tags":["user"],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/goals/{id}":{"get":{"operationId":"getUserGoalsId","summary":"One private goal of the signed-in person, with its revisions on request.","tags":["user"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"include","in":"query","required":false,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"},"patch":{"operationId":"patchUserGoalsId","summary":"Edits, pauses, resumes or retires one private goal of the signed-in person.","tags":["user"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"},"delete":{"operationId":"deleteUserGoalsId","summary":"Deletes one private goal of the signed-in person with all its revisions.","tags":["user"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/goals/{id}/milestones":{"post":{"operationId":"postUserGoalsIdMilestones","summary":"Adds a milestone to one private goal of the signed-in person.","tags":["user"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/goals/{id}/milestones/{milestoneId}":{"patch":{"operationId":"patchUserGoalsIdMilestonesMilestoneId","summary":"Edits a milestone of a private goal, or marks it done or open.","tags":["user"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"milestoneId","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"},"delete":{"operationId":"deleteUserGoalsIdMilestonesMilestoneId","summary":"Removes a milestone from a private goal of the signed-in person.","tags":["user"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"milestoneId","in":"path","required":true,"schema":{"type":"string"}},{"name":"baseVersion","in":"query","required":false,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/passes":{"get":{"operationId":"getUserPasses","summary":"The signed-in person's passes through quest run lanes, newest first.","tags":["user"],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/personal-space":{"get":{"operationId":"getUserPersonalSpace","summary":"The id of the signed-in person's personal workspace.","tags":["user"],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"no","scopes":[]},"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/quests":{"get":{"operationId":"getUserQuests","summary":"The signed-in person's quests, grouped as the assignments page shows them.","tags":["user"],"parameters":[{"name":"space","in":"query","required":false,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/session-token":{"post":{"operationId":"postUserSessionToken","summary":"Hands the cookie session out as a bearer session token for the companion app.","tags":["user"],"security":[{"sessionCookie":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":false,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/sessions":{"get":{"operationId":"getUserSessions","summary":"Lists the signed-in person's sessions, after a fresh step-up proof.","tags":["user"],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"no","scopes":[]},"bearerSession":true,"stepUp":true,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"},"delete":{"operationId":"deleteUserSessions","summary":"Signs out every other session of the signed-in person, after a step-up proof.","tags":["user"],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"no","scopes":[]},"bearerSession":true,"stepUp":true,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/sessions/{id}":{"delete":{"operationId":"deleteUserSessionsId","summary":"Signs out one session of the signed-in person, after a step-up proof.","tags":["user"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"no","scopes":[]},"bearerSession":true,"stepUp":true,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/step-up":{"post":{"operationId":"postUserStepUp","summary":"Proves the signed-in person again before a sensitive action.","tags":["user"],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/step-up/email-code":{"post":{"operationId":"postUserStepUpEmailCode","summary":"Sends a one-time code by e-mail for a step-up proof.","tags":["user"],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/step-up/methods":{"get":{"operationId":"getUserStepUpMethods","summary":"The step-up methods the signed-in person can use.","tags":["user"],"security":[{"sessionCookie":[]},{"sessionBearer":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":null,"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/user/xp":{"get":{"operationId":"getUserXp","summary":"The signed-in person's XP profile: level, tier and skill breakdown.","tags":["user"],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"no","scopes":[]},"bearerSession":true,"stepUp":false,"membership":"guard","permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}},"/api/wizard/readiness":{"get":{"operationId":"getWizardReadiness","summary":"Whether the AI assistant can answer in a workspace, and if not, why.","tags":["wizard"],"parameters":[{"name":"spaceId","in":"query","required":false,"schema":{"type":"string"}}],"security":[{"sessionCookie":[]},{"sessionBearer":[]},{"apiKeyBearer":[]},{"apiKeyHeader":[]}],"responses":{"default":{"description":"Documented at door level: the answer is not described yet. See x-procesos-depth."}},"x-procesos-door":{"access":"session","apiKey":{"personal":true,"workspaceBound":"in_route","scopes":[]},"bearerSession":true,"stepUp":false,"membership":null,"permissionsConsulted":[],"modules":[]},"x-procesos-depth":"door"}}},"servers":[{"url":"/"}]}