Docs/API

环境服务(EaaS)

63 endpoints

GET/api/eaas-console/tenantsConsole — tenants visible to the dashboard sessionPOST/api/eaas-console/tenantsConsole — create an EaaS tenant with a default projectGET/api/eaas-console/projectsConsole — projects of the selected tenantGET/api/eaas-console/projects/{id}/warm-poolConsole — warm-pool status projectionPATCH/api/eaas-console/projects/{id}/warm-poolConsole — apply (or dry-run) a warm-pool policyGET/api/eaas-console/projects/{id}/usageConsole — project metering ledger for the dashboard usage viewGET/api/eaas-console/projects/{id}/billingConsole — project billing settlement projectionPOST/api/eaas-console/projects/{id}/billing/settleConsole — settle usage rows through the unified credit ledgerGET/api/eaas-console/projects/{id}/billing/reconcileConsole — reconcile usage rows against credit transactionsPOST/api/eaas-console/projects/{id}/billing/{usageId}/refundConsole — refund one settled usage rowGET/api/eaas-console/environmentsConsole — environments of the selected tenantPOST/api/eaas-console/environmentsConsole — create an environmentDELETE/api/eaas-console/environments/{id}Console — destroy an environmentPOST/api/eaas-console/environments/{id}/chat-sessionConsole — bootstrap a principal session for the ChatSurfaceGET/api/eaas-console/skillsConsole — tenant private skillsPOST/api/eaas-console/skillsConsole — create a tenant private skillGET/api/eaas-console/skills/{id}Console — tenant private skill detailPATCH/api/eaas-console/skills/{id}Console — update a tenant private skillDELETE/api/eaas-console/skills/{id}Console — delete a tenant private skillPOST/api/eaas-console/skills/{id}/publishConsole — publish a tenant private skill (same approval gate)POST/api/v1/environmentsCreate an environmentGET/api/v1/environmentsList environments visible to the keyGET/api/v1/environments/{id}Read environment statusPATCH/api/v1/environments/{id}Patch TTL / metadata (If-Match)DELETE/api/v1/environments/{id}Destroy an environmentPOST/api/v1/environments/{id}/pausePause an environmentPOST/api/v1/environments/{id}/wakeWake a paused environmentPOST/api/v1/environments/{id}/suspendSuspend (freeze and reclaim) an environmentPOST/api/v1/environments/{id}/execsRun a command in the environmentGET/api/v1/environments/{id}/execs/{execId}Read an exec handleGET/api/v1/environments/{id}/files/{path}Read a file from the environmentPUT/api/v1/environments/{id}/files/{path}Write a file into the environmentGET/api/v1/environments/{id}/servicesRead template service readinessGET/api/v1/environments/{id}/snapshotsList environment snapshotsPOST/api/v1/environments/{id}/snapshotsCreate a filesystem snapshotPOST/api/v1/environments/{id}/snapshots/{snapshotId}/restoreRestore a snapshot into the environmentPOST/api/v1/sessionsExchange a publishable key + identity for a principal session (200)GET/api/v1/projects/{id}/publishable-keysList project publishable keys (operator management face)POST/api/v1/projects/{id}/publishable-keysCreate a project publishable key (plaintext shown once)POST/api/v1/projects/{id}/publishable-keys/{keyId}/revokeRevoke a publishable keyGET/api/v1/skillsList the tenant private skillsPOST/api/v1/skillsCreate a tenant private skillGET/api/v1/skills/{id}Read a tenant private skill (with content)PATCH/api/v1/skills/{id}Update a tenant private skillDELETE/api/v1/skills/{id}Delete a tenant private skillPOST/api/v1/skills/{id}/publishPublish a tenant private skill (human approval gate)GET/api/v1/eventsEvent replay (JSON) or live stream (SSE)GET/api/v1/projects/{id}/warm-poolRead the project warm-pool statusPATCH/api/v1/projects/{id}/warm-poolApply (or dry-run) a warm-pool policyGET/api/v1/projects/{id}/usageRead metered usage for a projectGET/api/v1/projects/{id}/billingRead project billing settlement projectionGET/api/v1/environments/{id}/artifactsList turn artifacts of the bound environment (principal face)GET/api/v1/environments/{id}/artifacts/{artifactId}Download a turn artifact (raw bytes, principal face)GET/api/v1/environments/{id}/conversationsList the principal's conversations with the environment agentPOST/api/v1/environments/{id}/conversationsReturn (or create) the principal↔agent conversationPOST/api/v1/environments/{id}/conversations/{conversationId}/messagesSend a message to the environment agent (202, async turn)GET/api/v1/environments/{id}/conversations/{conversationId}/messagesRead the conversation transcript (whitelisted projection)GET/api/v1/environments/{id}/runs/{runId}Read the durable run backing an EaaS turnPOST/api/v1/environments/{id}/runs/{runId}/cancelCancel a running EaaS turnGET/api/v1/environments/{id}/runs/{runId}/eventsList task-run events for an EaaS turnGET/api/v1/environments/{id}/sessionsList principal sessions bound to an environment (operator management face)POST/api/v1/environments/{id}/sessions/{sessionId}/revokeRevoke a principal session bound to an environmentGET/ws/eaas/v1EaaS event stream (WebSocket, first-frame auth)