Auth / Dashboard / other endpoints

Account, authentication, dashboard, Pipeline, search, project template, organization, plugin, and observability endpoints.

This page is the entry point for miscellaneous endpoints. Scopes differ by group: most account endpoints are dual, administrative endpoints are user_only, and organization audit is not part of the public contract.

Account and authentication

Method Path Purpose
GET /api/auth/profile User information
GET /api/auth/me Current account information
POST /api/auth/logout Sign out
PUT /api/auth/profile Update the profile
GET /api/auth/identities Bound third-party platforms
GET /api/auth/platform-links Relationship between users and repository platforms
GET /api/auth/beta-eligibility Beta allowlist eligibility of the current user
POST /api/auth/change-password Change the password
POST /api/auth/set-password/send-code Set a password: send the verification code
POST /api/auth/set-password Set a password
POST /api/auth/change-email/send-code Change the email: send the verification code
POST /api/auth/change-email Change the email
GET/DELETE /api/auth/bind/{provider} Bind/unbind a third-party platform

Sensitive operations such as account deletion and binding transfer require additional confirmation and cannot be completed by a single call.

Dashboard

Method Path Purpose
GET /api/dashboard/ops/overview Operations overview
GET /api/dashboard/ops/probe-now Manually trigger engine probing
GET /api/dashboard/ops/error-logs Error and warning logs
GET /api/dashboard/ops/timeline Task timeline
GET /api/dashboard/ops/a2a-health A2A health
GET /api/dashboard/{owner}/{repo} Repository dashboard
GET /api/dashboard/efficiency/board Efficiency dashboard

The legacy dashboard/efficiency endpoint is deprecated; use efficiency/board.

Pipeline, search, and templates

Method Path Purpose
GET /api/pipeline/{owner}/{repo} Repository Pipeline roadmap
POST /api/pipeline/handoff Cross-Pipeline handoff
GET /api/search Global search
GET /api/project-templates Template categories
GET /api/project-templates/{id}/readme Template README
GET /api/project-templates/{id}/preview Template preview
POST /api/project-templates/create One-click project creation

pipeline/handoff must include the target Scene; see A2A collaboration API for details.

Feishu QR sign-in

Method Path Purpose
POST /api/feishu/onboard/start Create a QR scan task
GET /api/feishu/onboard/status Query the status
POST /api/feishu/onboard/cancel Cancel the task

The QR scan task is asynchronous: after start, poll status; once it succeeds, the app is bound; if it expires, run start again.

Organizations

Method Path Purpose
GET/POST /api/orgs List/create organizations
GET/PUT/DELETE /api/orgs/{org_id} Organization details/update/delete
GET /api/orgs/repo-namespaces Namespaces available for repository creation
GET /api/orgs/search/users Search users
GET/POST /api/orgs/{org_id}/context Organization context
GET/PUT/DELETE /api/orgs/{org_id}/context/{ctx_id} Context details
POST /api/orgs/{org_id}/context/{ctx_id}/publish Publish the context
POST /api/orgs/{org_id}/context/{ctx_id}/deprecate Deprecate the context
GET/POST /api/orgs/{org_id}/dispatches Cross-repository dispatch
GET /api/orgs/{org_id}/dispatch/scene-catalog Scene catalog for dispatch
GET /api/orgs/{org_id}/dispatches/{dispatch_id}/context Dispatch context snapshot
GET /api/orgs/{org_id}/members List organization members
POST /api/orgs/{org_id}/members Add an organization member
PATCH/DELETE /api/orgs/{org_id}/members/{user_id} Update member role / remove member
POST /api/orgs/{org_id}/leave Leave the organization
GET /api/orgs/{org_id}/repos List organization repositories
GET /api/orgs/{org_id}/repos/available List repositories available to link
GET /api/orgs/{org_id}/repo-map/recall Recall target repositories by requirement
GET /api/orgs/{org_id}/repo-map/summary Repository map summary
POST /api/orgs/{org_id}/repo-map/sync Sync repository map documents to the organization repositories
GET /api/orgs/{org_id}/repo-map/{repo_key} Recall a single repository map
GET /api/orgs/{org_id}/knowledge List organization knowledge
POST /api/orgs/{org_id}/knowledge Create organization knowledge (draft)
GET/DELETE /api/orgs/{org_id}/knowledge/{knowledge_id} Organization knowledge details / delete

Organization audit GET /orgs/{id}/audit is an administrative-plane endpoint and is not part of the public contract.

Plugin marketplace

Method Path Purpose
GET /api/plugins Public plugin list
GET /api/plugins/{name} Plugin details
POST /api/plugins/validate Validate a plugin package
GET /api/plugins/categories Plugin categories
GET /api/plugins/installed Installed plugins
POST /api/plugins/install Install a plugin
POST /api/plugins/upload Upload a plugin (personal / repository)
POST /api/plugins/validate-consistency Dry-run source consistency check (no persist)
DELETE /api/plugins/{name} Uninstall a plugin
GET/DELETE /api/plugins/by-id/{plugin_id} Plugin details / revoke shelf entry (soft delete)
GET /api/plugins/by-id/{plugin_id}/download Download the plugin package (verifies content_hash)
GET /api/plugins/by-id/{plugin_id}/versions Version ledger
POST /api/plugins/by-id/{plugin_id}/rollback Roll back the effective version
GET /api/plugins/{name}/skills Bundled skills of a plugin
POST /api/plugins/{name}/credentials Save plugin credentials
GET/PUT /api/plugins/{name}/config Plugin parameter defaults (per user)
POST /api/plugins/agent/report-missing Agent reports missing plugins
GET /api/plugins/agent/installed Installed plugin capabilities for agents
POST /api/plugin-market/validate Validate a plugin market entry
POST /api/plugin-market/validate-package Validate a plugin package (market side)

Plugin write and administrative operations require user-level credentials and are restricted to administrators.

IM channels

The IM channels page in the console reads the state of the new engine (installation table + Supervisor). These endpoints only touch the engine side; saving or unlinking channel configuration still goes through /api/chat/config and /api/agents/vod/*.

Method Path Purpose
GET /api/im/status Engine master switch, instances, connected channel count, installation stats
GET /api/im/installations Installation list (masked secrets, connection state)
PUT /api/im/installations/{installation_id} Enable or disable an installation on the engine side (active/disabled)
POST /api/im/installations/{installation_id}/recover Manual recovery (relogin/clear_pause/retry_now)
GET /api/im/channels/health Channel health panel (paused/alert state)
GET /api/im/outbound Outbound notification details (filterable by status)
POST /api/im/outbound/{out_track_id}/retry Resend failed or expired outbound messages
POST /api/im/notify-test Notification fan-out self-test (one message per connected channel)
GET /api/im/dingtalk/card-setup Read the DingTalk card setup
POST /api/im/dingtalk/card-setup Save the DingTalk card setup

Observability API

/api/obs/... provides alerting, log sources, health checks, and SLO queries. It serves Grafana and operations integrations; ordinary API calls do not need it.

Common errors

Status Cause
400 Missing parameters, or an invalid organization/template id
401 Unauthenticated
403 Not an organization member, not an administrator, or a credential type mismatch
404 Resource not found
409 Name conflict or status conflict

Authentication and credentials | API overview | Error code dictionary