Documentation Index
Fetch the complete documentation index at: https://docs.archetypeai.app/llms.txt
Use this file to discover all available pages before exploring further.
Session Lifecycle
Sessions progress through these states:Session Event Types
| Event Type | Pattern | Description |
|---|---|---|
session.status | Query | Retrieve current session status and metadata |
session.validate | Request-Response | Validate session health and configuration |
session.get | Request-Response | Retrieve specific session information |
session.modify | Request-Response | Modify session configuration |
session.update | Request-Response | Update session state |
session.read | Direct | Read pending events from session queue |
session.destroy | Request-Response | Terminate session and free resources |
session.status
Query the current status and metadata of an active session.session.validate
Validate that a session is properly configured and healthy.session.get
Retrieve specific session configuration or state information.session.modify
Modify session configuration or parameters while the session is running.session.update
Update session state or trigger session processing.session.read
Read pending events from the session’s event queue.session.destroy
Terminate an active session and free its allocated resources.Error Responses
| Error Type | Message | Cause |
|---|---|---|
error | "Unknown session id: {session_id}" | Session not found |
error | "Failed to fetch session_runner!" | No node assigned to session |