chats_get
Read the conversation and its publication proposals.
REST · POST /api/v1/operations/chats_get · MCP · chats_get
Required scope · read. This operation reads data.
Example request body
{
"id": "RECORD_ID"
}
REST returns the output below directly. In MCP read structuredContent.result. Check the current installation at /api/v1/openapi.json.
For 401 check credential validity. For 403 inspect the role, scopes and selected accounts. For 409 reread the record before retrying.
JSON Schema · Input
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"required": [
"id"
],
"additionalProperties": false
}
JSON Schema · Output
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"project_id": {
"type": "string"
},
"runs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string"
},
"seq": {
"type": "number"
},
"provider": {
"type": "string",
"enum": [
"codex",
"claude",
"antigravity"
]
},
"prompt": {
"type": "string"
},
"proposals": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"caption": {
"type": "string",
"maxLength": 12000
},
"hashtags": {
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"maxLength": 100
}
},
"targets": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"accountId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"title": {
"type": "string",
"maxLength": 100
},
"visibility": {
"type": "string",
"enum": [
"private",
"unlisted",
"public"
]
},
"madeForKids": {
"type": "boolean"
}
},
"required": [
"accountId"
],
"additionalProperties": false
}
},
"mode": {
"default": "best",
"type": "string",
"enum": [
"best",
"schedule",
"now"
]
},
"localTime": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}$"
},
"timezone": {
"type": "string",
"maxLength": 80
}
},
"required": [
"mediaId",
"caption",
"hashtags",
"targets",
"mode"
],
"additionalProperties": false
}
},
"confirmed_posts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"reply": {
"type": "string"
}
},
"required": [
"id",
"status",
"seq",
"provider",
"prompt",
"proposals",
"confirmed_posts",
"reply"
],
"additionalProperties": {}
}
}
},
"required": [
"id",
"title",
"project_id",
"runs"
],
"additionalProperties": {}
}