Generated from the live OpenAPI document — 2026-12-01.This group has no curated guide page.All routes require Authorization: Bearer atamaia_… and return ApiEnvelope<T>({ ok, requestId, data, error, errorCode, count, hint }); the schemas below show thedata payload. * marks required properties.
Operations
| Method | Path | Summary / body | Responses |
|---|---|---|---|
| GET | /api/atams/{identityId}/conversation | 200 ChatSessionDto | |
| POST | /api/atams/{identityId}/conversation | 200 ChatSessionDto | |
| GET | /api/atams/{identityId}/conversations | 200 PagedResultOfChatSessionDto | |
| POST | /api/atams/{identityId}/conversations | 200 ChatSessionDto | |
| GET | /api/atams/{identityId}/conversations/{sessionId} | 200 ChatSessionDto | |
| POST | /api/atams/{identityId}/conversations/{sessionId}/select | 200 ChatSessionDto | |
| POST | /api/chat/context/webpage | 200 WebpageContextDto | |
| PATCH | /api/chat/messages/{messageId} | 200 | |
| PATCH | /api/chat/messages/{messageId}/feedback | 200 MessageRatingResult | |
| GET | /api/chat/sessions | 200 PagedResultOfChatSessionDto | |
| POST | /api/chat/sessions | 200 ChatSessionDto | |
| DELETE | /api/chat/sessions/{id} | 200 | |
| GET | /api/chat/sessions/{id} | 200 ChatSessionDetailDto | |
| PATCH | /api/chat/sessions/{id} | 200 ChatSessionDto | |
| POST | /api/chat/sessions/{id}/compact | 200 ChatContextStateDto | |
| POST | /api/chat/sessions/{id}/fork | 200 ChatSessionDto | |
| GET | /api/chat/sessions/{id}/participants | 200 ChatSessionParticipantDto[] | |
| PUT | /api/chat/sessions/{id}/participants | 200 ChatSessionParticipantDto[] | |
| DELETE | /api/chat/sessions/{id}/participants/{identityId} | 200 | |
| POST | /api/chat/sessions/{id}/title | 200 ChatSessionTitleResponse | |
| GET | /api/chat/sessions/{sessionId}/artifacts.zip | 200 | |
| GET | /api/chat/sessions/{sessionId}/artifacts/{filename} | 200 | |
| GET | /api/chat/sessions/{sessionId}/available-tools | 200 AvailableToolDto[] | |
| POST | /api/chat/sessions/{sessionId}/chat | 200 SessionChatResponse | |
| POST | /api/chat/sessions/{sessionId}/chat/stream | 200 | |
| GET | /api/chat/sessions/{sessionId}/messages | 200 PagedResultOfChatMessageDto | |
| POST | /api/chat/sessions/{sessionId}/messages | 200 ChatMessageDto | |
| GET | /api/chat/tool-offer | 200 AvailableToolDto[] |
Schemas
Request and response shapes referenced by the operations above. Nested types named here are also defined under their own group or inthe group index.
ChatContextStateDto
| Property | Type | Description |
|---|---|---|
| status | string | |
| modelId | null,string | |
| windowTokens | int32 | |
| historyBudgetTokens | int32 | |
| estimatedPromptTokens | int32 | |
| reservedOutputTokens | int32 | |
| summarizedMessageCount | int32 | |
| summaryModelId | null,string | |
| summarizedAtUtc | date-time | |
| summaryDurationMs | int64 | |
| summaryInputTokens | int32 | |
| summaryOutputTokens | int32 | |
| warning | null,string |
ChatMessageDto
| Property | Type | Description |
|---|---|---|
| id | int64 | |
| role | string | |
| content | string | |
| errorMessage | null,string | |
| reasoningContent | null,string | |
| reasoningEffort | null,string | |
| reasoningSource | null,string | |
| modelId | null,string | |
| senderIdentityId | int64 | |
| senderName | null,string | |
| promptTokens | int32 | |
| completionTokens | int32 | |
| cacheReadTokens | int32 | |
| responseTimeMs | int64 | |
| toolCalls | null,array | |
| toolCallId | null,string | |
| toolName | null,string | |
| feedback | null,string | |
| feedbackScore | int32 | |
| feedbackTags | null,array | |
| feedbackComment | null,string | |
| feedbackCorrection | null,string | |
| trainingPairId | int64 | |
| createdAtUtc | date-time |
ChatSessionDetailDto
| Property | Type | Description |
|---|---|---|
| messages | ChatMessageDto[] | |
| participants | ChatSessionParticipantDto[] | |
| id | int64 | |
| guid | uuid | |
| title | string | |
| clientId | string | |
| modelId | string | |
| messageCount | int32 | |
| totalTokens | int32 | |
| isPinned | boolean | |
| archived | boolean | |
| userId | int64 | |
| identityId | int64 | |
| projectId | int64 | |
| reasoningEffort | null,string | |
| systemPrompt | null,string | |
| enabledTools | null,array | |
| forkedFromSessionId | int64 | |
| atamSelectedAtUtc | date-time | |
| contextState | null | ChatContextStateDto | |
| createdAtUtc | date-time | |
| updatedAtUtc | date-time |
ChatSessionDto
| Property | Type | Description |
|---|---|---|
| id | int64 | |
| guid | uuid | |
| title | string | |
| clientId | string | |
| modelId | string | |
| messageCount | int32 | |
| totalTokens | int32 | |
| isPinned | boolean | |
| archived | boolean | |
| userId | int64 | |
| identityId | int64 | |
| projectId | int64 | |
| reasoningEffort | null,string | |
| systemPrompt | null,string | |
| enabledTools | null,array | |
| forkedFromSessionId | int64 | |
| atamSelectedAtUtc | date-time | |
| contextState | null | ChatContextStateDto | |
| createdAtUtc | date-time | |
| updatedAtUtc | date-time |
ChatSessionTitleResponse
| Property | Type | Description |
|---|---|---|
| title | string | |
| modelId | null,string | |
| source | string |
MessageRatingResult
| Property | Type | Description |
|---|---|---|
| messageId | int64 | |
| feedback | null,string | |
| trainingPairId | int64 | |
| mirrorNote | null,string |
PagedResultOfChatMessageDto
| Property | Type | Description |
|---|---|---|
| items* | ChatMessageDto[] | |
| totalCount | int32 | |
| page | int32 | |
| pageSize | int32 | |
| hasTotal | boolean | |
| moreAvailable | null,boolean | |
| totalPages | int32 | |
| hasNextPage | boolean | |
| hasPreviousPage | boolean |
PagedResultOfChatSessionDto
| Property | Type | Description |
|---|---|---|
| items* | ChatSessionDto[] | |
| totalCount | int32 | |
| page | int32 | |
| pageSize | int32 | |
| hasTotal | boolean | |
| moreAvailable | null,boolean | |
| totalPages | int32 | |
| hasNextPage | boolean | |
| hasPreviousPage | boolean |
SessionChatResponse
| Property | Type | Description |
|---|---|---|
| reply | string | |
| reasoningContent | null,string | |
| model | string | |
| promptTokens | int32 | |
| completionTokens | int32 | |
| responseTimeMs | int64 | |
| messageCount | int32 | |
| totalTokens | int32 |
WebpageContextDto
| Property | Type | Description |
|---|---|---|
| content* | string |