removedOutput schema / properties / drafts / items / properties
Removed value: -{
- "cc": {
- "items": {
- "type": "string"
- },
- "type": [
- "array",
- "null"
- ]
- },
- "conversation_id": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "decided_by_name": {
- "description": "Who sent, discarded or replaced it.",
- "type": [
- "string",
- "null"
- ]
- },
- "error_code": {
- "type": [
- "string",
- "null"
- ]
- },
- "files": {
- "description": "Files left with the draft; only the team sees them until a person sends it. Read one with colliedesk_attachment_get (attachment_id, conversation_id, draft_id).",
- "items": {
- "properties": {
- "content_type": {
- "type": "string"
- },
- "filename": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "size": {
- "description": "Bytes.",
- "type": "integer"
- }
- },
- "required": [
- "id",
- "filename",
- "size"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "id": {
- "type": "string"
- },
- "missing_info": {
- "type": [
- "string",
- "null"
- ]
- },
- "outcome": {
- "description": "Null while it waits for a person; superseded, expired and discarded written drafts can come back with colliedesk_reply_draft_restore.",
- "type": [
- "string",
- "null"
- ]
- },
- "prompt": {
- "type": "string"
- },
- "ready_at": {
- "type": [
- "string",
- "null"
- ]
- },
- "restored_at": {
- "type": [
- "string",
- "null"
- ]
- },
- "similarity": {
- "type": [
- "number",
- "null"
- ]
- },
- "source": {
- "description": "ai: written by the built-in AI; written: left by a token or a person (colliedesk_reply_draft).",
- "enum": [
- "ai",
- "written"
- ],
- "type": "string"
- },
- "sources": {
- "items": {
- "type": "object"
- },
- "type": "array"
- },
- "status": {
- "enum": [
- "queued",
- "running",
- "ready",
- "failed",
- "cancelled"
- ],
- "type": "string"
- },
- "text": {
- "description": "The draft, plain text, once ready. Generated text, not something a customer wrote.",
- "type": [
- "string",
- "null"
- ]
- },
- "warnings": {
- "description": "An address, a number or another customer's name in the draft that the conversation does not hold.",
- "items": {
- "type": "object"
- },
- "type": "array"
- },
- "written_by": {
- "description": "Who left a written draft.",
- "properties": {
- "agent_name": {
- "type": "string"
- },
- "token_label": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": [
- "object",
- "null"
- ]
- }
-}