addedOutput schema / additionalProperties
Added value: +false
changedOutput schema / description
Previous value: -"Envelope; the result is in data.data."New value: +"The whole thread, oldest message first."
removedOutput schema / properties / data
Removed value: -{
- "description": "API response: the result in data, or error.",
- "properties": {
- "data": {
- "description": "The whole thread.",
- "properties": {
- "message_count": {
- "description": "Messages in the thread.",
- "type": "number"
- },
- "messages": {
- "description": "Every message, oldest first.",
- "items": {
- "properties": {
- "attachments": {
- "type": "array"
- },
- "direction": {
- "description": "inbound or outbound.",
- "type": "string"
- },
- "from": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "message_id": {
- "description": "Message-ID header; full only.",
- "type": [
- "string",
- "null"
- ]
- },
- "role": {
- "description": "user (inbound) or assistant (outbound).",
- "type": "string"
- },
- "subject": {
- "type": [
- "string",
- "null"
- ]
- },
- "text": {
- "description": "Readable text; as stored with full.",
- "type": "string"
- },
- "timestamp": {
- "type": [
- "string",
- "null"
- ]
- },
- "to": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "quoted_chars_removed": {
- "description": "Quoted text left out; 0 with full.",
- "type": "number"
- },
- "subject": {
- "description": "Thread subject.",
- "type": [
- "string",
- "null"
- ]
- },
- "thread_id": {
- "description": "Null for a brand-new message.",
- "type": [
- "string",
- "null"
- ]
- },
- "truncated": {
- "description": "Message cap reached.",
- "type": "boolean"
- }
- },
- "type": [
- "object",
- "null"
- ]
- },
- "error": {
- "description": "Why the call was refused; absent on success.",
- "properties": {
- "code": {
- "description": "Error code to branch on.",
- "type": "string"
- },
- "message": {
- "description": "What went wrong, in words.",
- "type": "string"
- }
- },
- "type": [
- "object",
- "null"
- ]
- },
- "success": {
- "description": "True when data holds the result.",
- "type": "boolean"
- }
- },
- "type": "object"
-}
addedOutput schema / properties / message_count
Added value: +{
+ "description": "Messages in the thread; more than returned when truncated.",
+ "type": "integer"
+}
addedOutput schema / properties / messages
Added value: +{
+ "description": "Every message, oldest first.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "attachments": {
+ "description": "Files on it; absent when none.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "content_type": {
+ "description": "Media type, such as application/pdf.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "filename": {
+ "description": "File name; null when the email gave none.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "part_index": {
+ "description": "Pass to getEmailAttachment to read it.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "size_bytes": {
+ "description": "Size in bytes.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "filename",
+ "content_type",
+ "size_bytes",
+ "part_index"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "direction": {
+ "description": "inbound or outbound.",
+ "type": "string"
+ },
+ "from": {
+ "description": "Sender.",
+ "type": "string"
+ },
+ "id": {
+ "description": "Email id: getEmail for inbound, getSentEmail for outbound.",
+ "type": "string"
+ },
+ "message_id": {
+ "description": "full only: Message-ID header.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "role": {
+ "description": "user for inbound, assistant for outbound.",
+ "type": "string"
+ },
+ "subject": {
+ "description": "Subject line.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "text": {
+ "description": "Readable text, with links as [link]; as stored with full.",
+ "type": "string"
+ },
+ "timestamp": {
+ "description": "When it was sent or received.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "to": {
+ "description": "Recipients.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "role",
+ "direction",
+ "id",
+ "from",
+ "to",
+ "subject",
+ "text",
+ "timestamp"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / properties / quoted_chars_removed
Added value: +{
+ "description": "Characters of quoted history left out of the texts; 0 with full.",
+ "type": "integer"
+}
removedOutput schema / properties / status
Removed value: -{
- "description": "HTTP status; 2xx on success.",
- "type": "number"
-}
addedOutput schema / properties / subject
Added value: +{
+ "description": "Subject of the thread.",
+ "type": [
+ "string",
+ "null"
+ ]
+}
addedOutput schema / properties / thread_id
Added value: +{
+ "description": "Conversation id; null for a brand-new message.",
+ "type": [
+ "string",
+ "null"
+ ]
+}
removedOutput schema / properties / tool
Removed value: -{
- "description": "Tool that answered.",
- "type": "string"
-}
addedOutput schema / properties / truncated
Added value: +{
+ "description": "True when the message cap was reached.",
+ "type": "boolean"
+}
changedOutput schema / required
Previous value: -[
- "tool",
- "status",
- "data"
-]New value: +[
+ "thread_id",
+ "subject",
+ "quoted_chars_removed",
+ "messages"
+]