/v2/aiassistant/conversations/{conversationId}KI-Gespräch mit Nachrichten und Läufen lesen
Erfordert einen authentifizierten Administrator im ausgewählten Konto. Gespräche, Läufe und Artefakte sind zusätzlich an diesen Administrator gebunden; Quellenberechtigungen und Ablaufzeit werden erneut geprüft. Liest das eigene Gespräch mit bis zu 500 Nachrichten, allen Läufen und dem zuletzt gespeicherten Kontext. Quellenberechtigungen aller gespeicherten Läufe werden erneut geprüft; kein Modellaufruf.
Operation-ID get_v2_aiassistant_conversations_conversationId
Vertrag & Verhalten
- Dokumentationsstand
- reviewed
- Ändert Zustand
- Nein
- Als readOnly markiert
- Ja
- Für Automation markiert
- Nein
read
Authentifizierung
Eine der folgenden Alternativen muss erfüllt sein (ODER). Innerhalb jeder Alternative werden alle angegebenen Schemas gemeinsam benötigt (UND).
Alternative 1
bearerAuthhttp · bearerExisting edoobox v2 access token. Never substitute API key/secret headers.
Format: JWT
Security-Schema als JSON
{
"type": "http",
"scheme": "bearer",
"bearerFormat": "JWT",
"description": "Existing edoobox v2 access token. Never substitute API key/secret headers."
}accountContextapiKeySelected login/account context from the JWT, not a database primary key. Required even for a JWT with one account.
header: edid
Security-Schema als JSON
{
"type": "apiKey",
"in": "header",
"name": "edid",
"description": "Selected login/account context from the JWT, not a database primary key. Required even for a JWT with one account."
}Alternative 2
sessionCookieapiKeyExisting browser login session, with the same permission checks as Bearer authentication.
cookie: _edlogin
Security-Schema als JSON
{
"type": "apiKey",
"in": "cookie",
"name": "_edlogin",
"description": "Existing browser login session, with the same permission checks as Bearer authentication."
}accountContextapiKeySelected login/account context from the JWT, not a database primary key. Required even for a JWT with one account.
header: edid
Security-Schema als JSON
{
"type": "apiKey",
"in": "header",
"name": "edid",
"description": "Selected login/account context from the JWT, not a database primary key. Required even for a JWT with one account."
}Parameter
Pfadparameter
conversationIderforderlichÖffentliche, an Konto und Administrator gebundene aiassistantconversation-ID.
Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID.
- pattern
"^aiassistantconversation_[a-f0-9]{12}_-?[0-9]+$"
Vollständiges Schema als JSON
{
"type": "string",
"pattern": "^aiassistantconversation_[a-f0-9]{12}_-?[0-9]+$",
"description": "Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID."
}Header
languageoptionalAccount language code, where the resource supports setLanguage().
Schema-Beispiel
"de"Vollständiges Schema als JSON
{
"type": "string",
"examples": [
"de"
]
}Request Body
Kein Request Body in der Spezifikation beschrieben.
Antworten
9HTTP-Status und Antwortinhalt gemeinsam auswerten. In dieser API können auch Antworten mit HTTP 200 einen Fehler enthalten.
200application/json
Gespräch, Nachrichtenliste und Laufsliste mit öffentlichen IDs.
application/json
success boolean error boolean | string error_code string data object conversation object erforderlich id string erforderlich Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID.
- pattern
"^aiassistantconversation_[a-f0-9]{12}_-?[0-9]+$"
chat_id string erforderlich Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID.
- pattern
"^aiassistantconversation_[a-f0-9]{12}_-?[0-9]+$"
last_response_id Typ nicht eingeschränkt anyOf · Mindestens eine Variante muss passen
Variante 1 string Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID.
- pattern
"^aiassistantmessage_[a-f0-9]{12}_-?[0-9]+$"
Variante 2 null title string erforderlich created_at string erforderlich - format
"date-time"
updated_at string erforderlich - format
"date-time"
expires_at string erforderlich - format
"date-time"
context object Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.
Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.
messages array erforderlich Array-Elemente
id string Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID.
- pattern
"^aiassistantmessage_[a-f0-9]{12}_-?[0-9]+$"
role string content string blocks array Array-Elemente
Typabhängige Anzeige-, Referenz- und Anhangsblöcke.
Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.
created_at string - format
"date-time"
context object Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.
Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.
runs array erforderlich Array-Elemente
id string erforderlich Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID.
- pattern
"^aiassistantrun_[a-f0-9]{12}_-?[0-9]+$"
conversation_id string erforderlich Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID.
- pattern
"^aiassistantconversation_[a-f0-9]{12}_-?[0-9]+$"
status string erforderlich "queued""running""succeeded""awaiting_approval""failed""cancelled""authorization_required"phase string erforderlich proposal Typ nicht eingeschränkt erforderlich anyOf · Mindestens eine Variante muss passen
Variante 1 object summary string erforderlich hash string erforderlich - pattern
"^[a-f0-9]{64}$"
actions array erforderlich - maxItems
20
Array-Elemente
tool Typ nicht eingeschränkt erforderlich "editor.replace""edoobox_execute""edoobox_upload_transfer"arguments object erforderlich Exakte serverseitig normalisierte, aktionsabhängige Argumente. Keine vom Client erfundenen Freigabe- oder Zugangsdaten.
Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.
description string erforderlich Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.
Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.
Variante 2 null approved_at string | null - format
"date-time"
error_code string | null simulation boolean usage object erforderlich input_tokens integer output_tokens integer Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.
usage_status string unresolved_reserved_tokens integer estimated_usage object | null created_at string erforderlich - format
"date-time"
updated_at string erforderlich - format
"date-time"
retry_after_seconds integer activity array Array-Elemente
code string sequence integer at integer Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.
editor_context object language Typ nicht eingeschränkt Fester Wert: "css"
resource_id string Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID.
- pattern
"^widget_[a-f0-9]{12}_-?[0-9]+$"
content_sha256 string - pattern
"^[a-f0-9]{64}$"
Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.
execution object total_actions integer completed_actions integer started_actions integer partial boolean uncertain boolean results array Array-Elemente
sequence integer status string entities array Array-Elemente
id string Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID.
- pattern
"^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$"
type string name string Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.
mutationResult object insert boolean update boolean delete boolean Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.
Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.
Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.
Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.
Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.
type string Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.
Vollständiges Schema als JSON
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"error": {
"type": [
"boolean",
"string"
]
},
"error_code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"conversation": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^aiassistantconversation_[a-f0-9]{12}_-?[0-9]+$",
"description": "Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID."
},
"chat_id": {
"type": "string",
"pattern": "^aiassistantconversation_[a-f0-9]{12}_-?[0-9]+$",
"description": "Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID."
},
"last_response_id": {
"anyOf": [
{
"type": "string",
"pattern": "^aiassistantmessage_[a-f0-9]{12}_-?[0-9]+$",
"description": "Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID."
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"expires_at": {
"type": "string",
"format": "date-time"
},
"context": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
"additionalProperties": true,
"required": [
"id",
"chat_id",
"title",
"created_at",
"updated_at",
"expires_at"
]
},
"messages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^aiassistantmessage_[a-f0-9]{12}_-?[0-9]+$",
"description": "Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID."
},
"role": {
"type": "string"
},
"content": {
"type": "string"
},
"blocks": {
"type": "array",
"items": {
"type": "object",
"properties": {},
"additionalProperties": true,
"description": "Typabhängige Anzeige-, Referenz- und Anhangsblöcke."
}
},
"created_at": {
"type": "string",
"format": "date-time"
},
"context": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
"additionalProperties": true
}
},
"runs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^aiassistantrun_[a-f0-9]{12}_-?[0-9]+$",
"description": "Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID."
},
"conversation_id": {
"type": "string",
"pattern": "^aiassistantconversation_[a-f0-9]{12}_-?[0-9]+$",
"description": "Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID."
},
"status": {
"type": "string",
"enum": [
"queued",
"running",
"succeeded",
"awaiting_approval",
"failed",
"cancelled",
"authorization_required"
]
},
"phase": {
"type": "string"
},
"proposal": {
"anyOf": [
{
"type": "object",
"properties": {
"summary": {
"type": "string"
},
"hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"actions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"tool": {
"enum": [
"editor.replace",
"edoobox_execute",
"edoobox_upload_transfer"
]
},
"arguments": {
"type": "object",
"properties": {},
"additionalProperties": true,
"description": "Exakte serverseitig normalisierte, aktionsabhängige Argumente. Keine vom Client erfundenen Freigabe- oder Zugangsdaten."
},
"description": {
"type": "string"
}
},
"additionalProperties": true,
"required": [
"tool",
"arguments",
"description"
]
},
"maxItems": 20
}
},
"additionalProperties": true,
"required": [
"summary",
"actions",
"hash"
]
},
{
"type": "null"
}
]
},
"approved_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"error_code": {
"type": [
"string",
"null"
]
},
"simulation": {
"type": "boolean"
},
"usage": {
"type": "object",
"properties": {
"input_tokens": {
"type": "integer"
},
"output_tokens": {
"type": "integer"
}
},
"additionalProperties": true
},
"usage_status": {
"type": "string"
},
"unresolved_reserved_tokens": {
"type": "integer"
},
"estimated_usage": {
"type": [
"object",
"null"
]
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"retry_after_seconds": {
"type": "integer"
},
"activity": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"sequence": {
"type": "integer"
},
"at": {
"type": "integer"
}
},
"additionalProperties": true
}
},
"editor_context": {
"type": "object",
"properties": {
"language": {
"const": "css"
},
"resource_id": {
"type": "string",
"pattern": "^widget_[a-f0-9]{12}_-?[0-9]+$",
"description": "Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID."
},
"content_sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"additionalProperties": true
},
"execution": {
"type": "object",
"properties": {
"total_actions": {
"type": "integer"
},
"completed_actions": {
"type": "integer"
},
"started_actions": {
"type": "integer"
},
"partial": {
"type": "boolean"
},
"uncertain": {
"type": "boolean"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sequence": {
"type": "integer"
},
"status": {
"type": "string"
},
"entities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
"description": "Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID."
},
"type": {
"type": "string"
},
"name": {
"type": "string"
}
},
"additionalProperties": true
}
},
"mutationResult": {
"type": "object",
"properties": {
"insert": {
"type": "boolean"
},
"update": {
"type": "boolean"
},
"delete": {
"type": "boolean"
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
},
"additionalProperties": true,
"required": [
"id",
"conversation_id",
"status",
"phase",
"proposal",
"usage",
"created_at",
"updated_at"
]
}
}
},
"additionalProperties": true,
"required": [
"conversation",
"messages",
"runs"
]
},
"type": {
"type": "string"
}
},
"additionalProperties": true
}Beispiel
{
"success": true,
"error": false,
"data": {
"conversation": {
"id": "aiassistantconversation_012345abcdef_123456",
"chat_id": "aiassistantconversation_012345abcdef_123456",
"last_response_id": null,
"title": "Kursplanung",
"created_at": "2026-10-22T10:00:00+00:00",
"updated_at": "2026-10-22T10:00:00+00:00",
"expires_at": "2026-11-21T10:00:00+00:00",
"context": {}
},
"messages": [
{
"id": "aiassistantmessage_012345abcdef_123456",
"role": "user",
"content": "Zeige die Kurse im November.",
"blocks": [],
"created_at": "2026-10-22T10:00:00+00:00"
}
],
"runs": [
{
"id": "aiassistantrun_012345abcdef_123456",
"conversation_id": "aiassistantconversation_012345abcdef_123456",
"status": "queued",
"phase": "draft",
"proposal": null,
"approved_at": null,
"error_code": null,
"simulation": false,
"usage": {
"input_tokens": 0,
"output_tokens": 0
},
"usage_status": "measured",
"unresolved_reserved_tokens": 0,
"estimated_usage": null,
"activity": [],
"created_at": "2026-10-22T10:00:00+00:00",
"updated_at": "2026-10-22T10:00:00+00:00"
}
]
}
}400application/json
Invalid request.
application/json
Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.
Beispiel
{
"success": false,
"error": "ED40006"
}401application/json
Missing/expired token, missing account context, account paused or model-specific authorization failure.
application/json
Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.
Beispiel
{
"success": false,
"error": "ED40103"
}402application/json
Missing/invalid action data or subscription/operation restriction.
application/json
Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.
Beispiel
{
"success": false,
"error": "ED80100"
}403application/json
Permission denied. Browser CORS rejection may have an empty body.
application/json
Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.
Beispiel
{
"success": false,
"error": "ED40340"
}404application/json
Unknown resource/action or unsupported method.
application/json
Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.
Beispiel
{
"success": false,
"error": "ED80019"
}422application/json
Validation failed.
application/json
Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.
Beispiel
{
"success": false,
"error": "ED80020"
}429application/json
Request/login rate limit exceeded. Honor Retry-After when supplied; legacy rate-limit paths may omit it. Retry only proven reads within a bounded deadline; a mutation is never automatically replayed after an ambiguous response.
Response Header
Retry-After
Optional server delay in whole seconds or an HTTP date. Absence is not permission for an immediate retry.
Schema-Beispiel
"30"Vollständiges Schema als JSON
{
"type": "string",
"examples": [
"30"
]
}application/json
Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.
Beispiel
{
"success": false,
"error": "ED42902"
}502application/json
Server-side operation failed.
application/json
Kein Schema angegeben. Daraus lässt sich kein vollständiger Feldvertrag ableiten.
Beispiel
{
"success": false,
"error": "ED50201"
}Quelle & Metadaten
application/models/v2/Aiassistant.php:10getAiassistant()Diese Angaben stammen unverändert aus der gelieferten OpenAPI-Datei. Zusätzliche Freigaben, Vorbedingungen, sensible Felder und Hinweise stehen in den Erweiterungen.
x-edoobox-mutates-state
falsex-edoobox-server-authorization
truex-edoobox-server-authorization-source
{
"file": "application/models/v2/Aiassistant.php",
"line": 26,
"reason": "Dedicated administrator/account identity, ownership, plugin and action-specific settings/billing checks. No legacy permission.short exists; maintenance side effects remain conservatively classified and must not acquire fictitious legacy write permission."
}x-edoobox-runtimeMutationGuard
falsex-edoobox-get-effect
"read"x-edoobox-documentationReview
{
"file": "docs/openapi/operation-contracts/09-messages-ai.json",
"notes": []
}x-edoobox-source
{
"file": "application/models/v2/Aiassistant.php",
"method": "getAiassistant",
"line": 10
}x-edoobox-documentationStatus
"reviewed"x-edoobox-readOnly
truex-edoobox-safeForAutomation
falsex-edoobox-permission
{
"resource": "aiassistant",
"short": null,
"checkedByDispatcher": false,
"levels": [
1,
3,
4
],
"description": "Resource permission mapping from APIPermissions(), Authfunc::_getCheckJWT. Additional model/admin/plugin checks may apply; resources absent from api_permission do not acquire a fictitious scope."
}Vollständige Operation als JSON
{
"operationId": "get_v2_aiassistant_conversations_conversationId",
"summary": "KI-Gespräch mit Nachrichten und Läufen lesen",
"description": "Erfordert einen authentifizierten Administrator im ausgewählten Konto. Gespräche, Läufe und Artefakte sind zusätzlich an diesen Administrator gebunden; Quellenberechtigungen und Ablaufzeit werden erneut geprüft. Liest das eigene Gespräch mit bis zu 500 Nachrichten, allen Läufen und dem zuletzt gespeicherten Kontext. Quellenberechtigungen aller gespeicherten Läufe werden erneut geprüft; kein Modellaufruf.",
"tags": [
"aiassistant"
],
"security": [
{
"bearerAuth": [],
"accountContext": []
},
{
"sessionCookie": [],
"accountContext": []
}
],
"parameters": [
{
"name": "conversationId",
"in": "path",
"required": true,
"description": "Öffentliche, an Konto und Administrator gebundene aiassistantconversation-ID.",
"schema": {
"type": "string",
"pattern": "^aiassistantconversation_[a-f0-9]{12}_-?[0-9]+$",
"description": "Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID."
}
},
{
"name": "language",
"in": "header",
"required": false,
"description": "Account language code, where the resource supports setLanguage().",
"schema": {
"type": "string",
"examples": [
"de"
]
}
}
],
"responses": {
"200": {
"description": "Gespräch, Nachrichtenliste und Laufsliste mit öffentlichen IDs.",
"content": {
"application/json": {
"example": {
"success": true,
"error": false,
"data": {
"conversation": {
"id": "aiassistantconversation_012345abcdef_123456",
"chat_id": "aiassistantconversation_012345abcdef_123456",
"last_response_id": null,
"title": "Kursplanung",
"created_at": "2026-10-22T10:00:00+00:00",
"updated_at": "2026-10-22T10:00:00+00:00",
"expires_at": "2026-11-21T10:00:00+00:00",
"context": {}
},
"messages": [
{
"id": "aiassistantmessage_012345abcdef_123456",
"role": "user",
"content": "Zeige die Kurse im November.",
"blocks": [],
"created_at": "2026-10-22T10:00:00+00:00"
}
],
"runs": [
{
"id": "aiassistantrun_012345abcdef_123456",
"conversation_id": "aiassistantconversation_012345abcdef_123456",
"status": "queued",
"phase": "draft",
"proposal": null,
"approved_at": null,
"error_code": null,
"simulation": false,
"usage": {
"input_tokens": 0,
"output_tokens": 0
},
"usage_status": "measured",
"unresolved_reserved_tokens": 0,
"estimated_usage": null,
"activity": [],
"created_at": "2026-10-22T10:00:00+00:00",
"updated_at": "2026-10-22T10:00:00+00:00"
}
]
}
},
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"error": {
"type": [
"boolean",
"string"
]
},
"error_code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"conversation": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^aiassistantconversation_[a-f0-9]{12}_-?[0-9]+$",
"description": "Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID."
},
"chat_id": {
"type": "string",
"pattern": "^aiassistantconversation_[a-f0-9]{12}_-?[0-9]+$",
"description": "Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID."
},
"last_response_id": {
"anyOf": [
{
"type": "string",
"pattern": "^aiassistantmessage_[a-f0-9]{12}_-?[0-9]+$",
"description": "Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID."
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"expires_at": {
"type": "string",
"format": "date-time"
},
"context": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
"additionalProperties": true,
"required": [
"id",
"chat_id",
"title",
"created_at",
"updated_at",
"expires_at"
]
},
"messages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^aiassistantmessage_[a-f0-9]{12}_-?[0-9]+$",
"description": "Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID."
},
"role": {
"type": "string"
},
"content": {
"type": "string"
},
"blocks": {
"type": "array",
"items": {
"type": "object",
"properties": {},
"additionalProperties": true,
"description": "Typabhängige Anzeige-, Referenz- und Anhangsblöcke."
}
},
"created_at": {
"type": "string",
"format": "date-time"
},
"context": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
"additionalProperties": true
}
},
"runs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^aiassistantrun_[a-f0-9]{12}_-?[0-9]+$",
"description": "Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID."
},
"conversation_id": {
"type": "string",
"pattern": "^aiassistantconversation_[a-f0-9]{12}_-?[0-9]+$",
"description": "Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID."
},
"status": {
"type": "string",
"enum": [
"queued",
"running",
"succeeded",
"awaiting_approval",
"failed",
"cancelled",
"authorization_required"
]
},
"phase": {
"type": "string"
},
"proposal": {
"anyOf": [
{
"type": "object",
"properties": {
"summary": {
"type": "string"
},
"hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"actions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"tool": {
"enum": [
"editor.replace",
"edoobox_execute",
"edoobox_upload_transfer"
]
},
"arguments": {
"type": "object",
"properties": {},
"additionalProperties": true,
"description": "Exakte serverseitig normalisierte, aktionsabhängige Argumente. Keine vom Client erfundenen Freigabe- oder Zugangsdaten."
},
"description": {
"type": "string"
}
},
"additionalProperties": true,
"required": [
"tool",
"arguments",
"description"
]
},
"maxItems": 20
}
},
"additionalProperties": true,
"required": [
"summary",
"actions",
"hash"
]
},
{
"type": "null"
}
]
},
"approved_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"error_code": {
"type": [
"string",
"null"
]
},
"simulation": {
"type": "boolean"
},
"usage": {
"type": "object",
"properties": {
"input_tokens": {
"type": "integer"
},
"output_tokens": {
"type": "integer"
}
},
"additionalProperties": true
},
"usage_status": {
"type": "string"
},
"unresolved_reserved_tokens": {
"type": "integer"
},
"estimated_usage": {
"type": [
"object",
"null"
]
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"retry_after_seconds": {
"type": "integer"
},
"activity": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"sequence": {
"type": "integer"
},
"at": {
"type": "integer"
}
},
"additionalProperties": true
}
},
"editor_context": {
"type": "object",
"properties": {
"language": {
"const": "css"
},
"resource_id": {
"type": "string",
"pattern": "^widget_[a-f0-9]{12}_-?[0-9]+$",
"description": "Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID."
},
"content_sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"additionalProperties": true
},
"execution": {
"type": "object",
"properties": {
"total_actions": {
"type": "integer"
},
"completed_actions": {
"type": "integer"
},
"started_actions": {
"type": "integer"
},
"partial": {
"type": "boolean"
},
"uncertain": {
"type": "boolean"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sequence": {
"type": "integer"
},
"status": {
"type": "string"
},
"entities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
"description": "Öffentliche v2-ID aus dem ausgewählten Konto; keine interne Datenbank-ID."
},
"type": {
"type": "string"
},
"name": {
"type": "string"
}
},
"additionalProperties": true
}
},
"mutationResult": {
"type": "object",
"properties": {
"insert": {
"type": "boolean"
},
"update": {
"type": "boolean"
},
"delete": {
"type": "boolean"
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
},
"additionalProperties": true,
"required": [
"id",
"conversation_id",
"status",
"phase",
"proposal",
"usage",
"created_at",
"updated_at"
]
}
}
},
"additionalProperties": true,
"required": [
"conversation",
"messages",
"runs"
]
},
"type": {
"type": "string"
}
},
"additionalProperties": true
}
}
}
},
"400": {
"description": "Invalid request.",
"content": {
"application/json": {
"example": {
"success": false,
"error": "ED40006"
}
}
}
},
"401": {
"description": "Missing/expired token, missing account context, account paused or model-specific authorization failure.",
"content": {
"application/json": {
"example": {
"success": false,
"error": "ED40103"
}
}
}
},
"402": {
"description": "Missing/invalid action data or subscription/operation restriction.",
"content": {
"application/json": {
"example": {
"success": false,
"error": "ED80100"
}
}
}
},
"403": {
"description": "Permission denied. Browser CORS rejection may have an empty body.",
"content": {
"application/json": {
"example": {
"success": false,
"error": "ED40340"
}
}
}
},
"404": {
"description": "Unknown resource/action or unsupported method.",
"content": {
"application/json": {
"example": {
"success": false,
"error": "ED80019"
}
}
}
},
"422": {
"description": "Validation failed.",
"content": {
"application/json": {
"example": {
"success": false,
"error": "ED80020"
}
}
}
},
"429": {
"description": "Request/login rate limit exceeded. Honor Retry-After when supplied; legacy rate-limit paths may omit it. Retry only proven reads within a bounded deadline; a mutation is never automatically replayed after an ambiguous response.",
"content": {
"application/json": {
"example": {
"success": false,
"error": "ED42902"
}
}
},
"headers": {
"Retry-After": {
"description": "Optional server delay in whole seconds or an HTTP date. Absence is not permission for an immediate retry.",
"schema": {
"type": "string",
"examples": [
"30"
]
}
}
}
},
"502": {
"description": "Server-side operation failed.",
"content": {
"application/json": {
"example": {
"success": false,
"error": "ED50201"
}
}
}
}
},
"x-edoobox-mutates-state": false,
"x-edoobox-server-authorization": true,
"x-edoobox-server-authorization-source": {
"file": "application/models/v2/Aiassistant.php",
"line": 26,
"reason": "Dedicated administrator/account identity, ownership, plugin and action-specific settings/billing checks. No legacy permission.short exists; maintenance side effects remain conservatively classified and must not acquire fictitious legacy write permission."
},
"x-edoobox-runtimeMutationGuard": false,
"x-edoobox-get-effect": "read",
"x-edoobox-documentationReview": {
"file": "docs/openapi/operation-contracts/09-messages-ai.json",
"notes": []
},
"x-edoobox-source": {
"file": "application/models/v2/Aiassistant.php",
"method": "getAiassistant",
"line": 10
},
"x-edoobox-documentationStatus": "reviewed",
"x-edoobox-readOnly": true,
"x-edoobox-safeForAutomation": false,
"x-edoobox-permission": {
"resource": "aiassistant",
"short": null,
"checkedByDispatcher": false,
"levels": [
1,
3,
4
],
"description": "Resource permission mapping from APIPermissions(), Authfunc::_getCheckJWT. Additional model/admin/plugin checks may apply; resources absent from api_permission do not acquire a fictitious scope."
}
}