Messages API
Stateless Anthropic-shaped requests and token counting.
Download atlas-messages-v1.yaml
Contract: 7550b33817890605a8c47f9ed2033807d10f94319c013a29c0bae27e4eae3eb8
Public, server-owned agent APIs for remote clients. The API edge is https://api.trentsoftware.in; documentation is static and credential-free.
X-Atlas-API-Key. Credentials, provider endpoints, connector tools, and execution policy remain server-owned.Stateless Anthropic-shaped requests and token counting.
Download atlas-messages-v1.yaml
Contract: 7550b33817890605a8c47f9ed2033807d10f94319c013a29c0bae27e4eae3eb8
Stateful sessions, conversations, artifacts, events, and durable runs.
Download atlas-sessions-v1.yaml
Contract: e12652e310449717ecbb0e643504fa4634661f7facb1835f1721505409f8d503
| Method | Path | Operation | Summary | Surface |
|---|---|---|---|---|
| POST | /v1/messages | createMessage | Create an Atlas message response. | Messages API |
| POST | /v1/messages/count_tokens | countMessageTokens | Estimate tokens for a Messages request without execution. | Messages API |
| POST | /v1/sessions | createOrResumeSession | Create a session or resume an owned conversation. | Sessions API |
| GET | /v1/sessions/{sessionId} | getSession | Get the current session snapshot. | Sessions API |
| DELETE | /v1/sessions/{sessionId} | deleteSession | Close the live session runtime. | Sessions API |
| POST | /v1/sessions/{sessionId}/runs | startSessionRun | Start a chat turn or steer the active durable chat run. | Sessions API |
| POST | /v1/sessions/{sessionId}/steer | steerSessionRun | Queue a steering message during an active run. | Sessions API |
| POST | /v1/sessions/{sessionId}/follow-ups | queueSessionFollowUp | Queue a follow-up message during an active run. | Sessions API |
| POST | /v1/sessions/{sessionId}/abort | abortSessionRun | Request cancellation of the active chat run. | Sessions API |
| GET | /v1/sessions/{sessionId}/events | streamSessionEvents | Replay and subscribe to session events. | Sessions API |
| POST | /v1/sessions/{sessionId}/interactions/{interactionId}/responses | respondToSessionInteraction | Answer or cancel a requested interaction. | Sessions API |
| GET | /v1/sessions/{sessionId}/crons | listSessionCrons | List current session-scoped schedules. | Sessions API |
| DELETE | /v1/sessions/{sessionId}/crons/{cronId} | deleteSessionCron | Delete a current session-scoped schedule. | Sessions API |
| GET | /v1/sessions/{sessionId}/artifacts | listSessionArtifacts | List explicitly presented generated artifacts. | Sessions API |
| DELETE | /v1/sessions/{sessionId}/artifacts/{artifactId} | deleteSessionArtifact | Delete a presented artifact. | Sessions API |
| GET | /v1/sessions/{sessionId}/artifacts/{artifactId}/content | downloadSessionArtifact | Download a presented generated artifact. | Sessions API |
| GET | /v1/conversations | listConversations | List retained conversations for the principal. | Sessions API |
| GET | /v1/conversations/{conversationId} | getConversation | Get a durable conversation snapshot without activating a runtime. | Sessions API |
| PATCH | /v1/conversations/{conversationId} | renameConversation | Rename an owned conversation. | Sessions API |
| DELETE | /v1/conversations/{conversationId} | deleteConversation | Permanently delete a durable conversation and scoped artifacts. | Sessions API |
| GET | /v1/agent-runs | listAgentRuns | List principal-owned durable agent runs. | Sessions API |
| GET | /v1/agent-runs/{runId} | getAgentRun | Get a durable run and current wait or input request. | Sessions API |
| GET | /v1/agent-runs/{runId}/audit | listAgentRunAudit | Read the hash-chained audit record for a run. | Sessions API |
| POST | /v1/agent-runs/{runId}/pause | pauseAgentRun | Request a durable pause. | Sessions API |
| POST | /v1/agent-runs/{runId}/resume | resumeAgentRun | Resume a paused durable run. | Sessions API |
| POST | /v1/agent-runs/{runId}/cancel | cancelAgentRun | Request durable cancellation. | Sessions API |
| POST | /v1/agent-runs/{runId}/retry | retryAgentRun | Retry a failed or cancelled durable run. | Sessions API |
| POST | /v1/agent-run-waits/{waitId}/resolve | resolveAgentRunWait | Resolve an owned external durable wait. | Sessions API |
| POST | /v1/agent-run-approvals/{approvalId}/approve | approveAgentRunApproval | Approve an owned durable approval request. | Sessions API |
| POST | /v1/agent-run-approvals/{approvalId}/reject | rejectAgentRunApproval | Reject an owned durable approval request. | Sessions API |