Vicem · Schema

ErrandResponse

AI ReceptionistCall AnsweringPhone forwarding

Properties

Name Type Description
id object
status string
statusLine string
request string
goal string
targetName object
targetE164 object
targetSource object
callLang string
reportLang string
allowedFacts array
maxMinutes integer
holdMode string
holdLimitMinutes object
holdRing string
payloadHash object
blocker object
outcome object
summary object
holdMinutes integer
holdStartedAt object
holdPosition object
holdWaitMinutes object
callSeconds object
interactionId object
groupId object
createdAt object
approvedAt object
endedAt object
mailFacts array
wantsPerson boolean
topic object
screenerNote string
scheduledFor object
via object
bookedLine object
again object
stopRequested boolean
notDialled boolean
doNotCall boolean
retryOf object
ownerJoined boolean
chase object
more object
usedEarlier boolean
limits object
callerId object
targetAddress object
candidates array
needsNumber boolean
askWho string
nearby array
quoteJob string
firstCall boolean
opensAt object
plusAfterFree boolean
openAsk object
retries integer
nextAttempt object
heldConfirm object
heldBooked object
offers array
ledgerEntryId string
likelyAsks array
View JSON Schema on GitHub

JSON Schema

vicem-ai-errand-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vicem-ai/json-schema/vicem-ai-errand-response-schema.json",
  "title": "ErrandResponse",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vicem-ai-openapi.json#/components/schemas/ErrandResponse",
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/$defs/Id"
    },
    "status": {
      "type": "string",
      "enum": [
        "planned",
        "queued",
        "dialing",
        "ivr",
        "on_hold",
        "talking",
        "done",
        "failed",
        "needs_owner",
        "cancelled"
      ]
    },
    "statusLine": {
      "type": "string",
      "maxLength": 60
    },
    "request": {
      "type": "string",
      "maxLength": 500
    },
    "goal": {
      "type": "string",
      "maxLength": 300
    },
    "targetName": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 80
        },
        {
          "type": "null"
        }
      ]
    },
    "targetE164": {
      "anyOf": [
        {
          "$ref": "#/$defs/E164"
        },
        {
          "type": "null"
        }
      ]
    },
    "targetSource": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "contact",
            "places",
            "typed"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "callLang": {
      "type": "string",
      "maxLength": 8
    },
    "reportLang": {
      "type": "string",
      "maxLength": 8
    },
    "allowedFacts": {
      "maxItems": 8,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 160
      }
    },
    "maxMinutes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 60
    },
    "holdMode": {
      "type": "string",
      "enum": [
        "alert_owner",
        "carry_on"
      ]
    },
    "holdLimitMinutes": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1,
          "maximum": 120
        },
        {
          "type": "null"
        }
      ]
    },
    "holdRing": {
      "type": "string",
      "enum": [
        "app",
        "phone",
        "both",
        "none"
      ]
    },
    "payloadHash": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[0-9a-f]{64}$"
        },
        {
          "type": "null"
        }
      ]
    },
    "blocker": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "reason": {
              "type": "string",
              "enum": [
                "no_number",
                "invalid",
                "needs_area_code",
                "emergency",
                "premium",
                "short_code",
                "own_number",
                "unsupported_country",
                "opted_out",
                "business_dnc",
                "owner_daily_cap",
                "destination_daily_cap",
                "no_minutes",
                "service_off",
                "no_caller"
              ]
            },
            "message": {
              "type": "string",
              "maxLength": 200
            }
          },
          "required": [
            "reason",
            "message"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "outcome": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "result": {
              "type": "string",
              "enum": [
                "achieved",
                "partial",
                "not_achieved",
                "no_answer",
                "voicemail",
                "needs_owner",
                "refused_ai",
                "no_answer_closed"
              ]
            },
            "summary": {
              "type": "string",
              "maxLength": 600
            },
            "timesOffered": {
              "maxItems": 8,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 120
              }
            },
            "price": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 120
                },
                {
                  "type": "null"
                }
              ]
            },
            "reference": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 120
                },
                {
                  "type": "null"
                }
              ]
            },
            "nextStep": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 300
                },
                {
                  "type": "null"
                }
              ]
            },
            "screener": {
              "type": "object",
              "properties": {
                "detected": {
                  "type": "boolean"
                },
                "passed": {
                  "type": "boolean"
                },
                "vendorHint": {
                  "type": "string",
                  "maxLength": 20
                }
              },
              "required": [
                "detected",
                "passed",
                "vendorHint"
              ],
              "additionalProperties": false
            },
            "counterpartAi": {
              "type": "object",
              "properties": {
                "vendorHint": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 20
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "principal": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 60
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "vendorHint",
                "principal"
              ],
              "additionalProperties": false
            },
            "closedHours": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 200
                },
                {
                  "type": "null"
                }
              ]
            },
            "effective": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 120
                },
                {
                  "type": "null"
                }
              ]
            },
            "agreed": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "when": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 120
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "what": {
                      "type": "string",
                      "maxLength": 200
                    }
                  },
                  "required": [
                    "when",
                    "what"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            },
            "scope": {
              "type": "object",
              "properties": {
                "security": {
                  "type": "boolean"
                },
                "offered": {
                  "maxItems": 3,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 120
                  }
                }
              },
              "required": [
                "security",
                "offered"
              ],
              "additionalProperties": false
            },
            "reached": {
              "type": "object",
              "properties": {
                "by": {
                  "type": "string",
                  "enum": [
                    "person",
                    "recording",
                    "nobody"
                  ]
                },
                "words": {
                  "type": "string",
                  "maxLength": 200
                },
                "seq": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                }
              },
              "required": [
                "by"
              ],
              "additionalProperties": false
            },
            "messageLeft": {
              "type": "boolean"
            },
            "numberLeft": {
              "type": "boolean"
            },
            "slots": {
              "maxItems": 8,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "label": {
                    "type": "string",
                    "maxLength": 120
                  },
                  "startsAt": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 40
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "heardMeridiem": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "label",
                  "startsAt",
                  "heardMeridiem"
                ],
                "additionalProperties": false
              }
            },
            "ownerTook": {
              "type": "boolean"
            }
          },
          "required": [
            "result",
            "summary",
            "timesOffered",
            "price",
            "reference",
            "nextStep"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "summary": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 1000
        },
        {
          "type": "null"
        }
      ]
    },
    "holdMinutes": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "holdStartedAt": {
      "anyOf": [
        {
          "$ref": "#/$defs/IsoDate"
        },
        {
          "type": "null"
        }
      ]
    },
    "holdPosition": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1,
          "maximum": 999
        },
        {
          "type": "null"
        }
      ]
    },
    "holdWaitMinutes": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1,
          "maximum": 600
        },
        {
          "type": "null"
        }
      ]
    },
    "callSeconds": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "interactionId": {
      "anyOf": [
        {
          "$ref": "#/$defs/Id"
        },
        {
          "type": "null"
        }
      ]
    },
    "groupId": {
      "anyOf": [
        {
          "$ref": "#/$defs/Id"
        },
        {
          "type": "null"
        }
      ]
    },
    "createdAt": {
      "$ref": "#/$defs/IsoDate"
    },
    "approvedAt": {
      "anyOf": [
        {
          "$ref": "#/$defs/IsoDate"
        },
        {
          "type": "null"
        }
      ]
    },
    "endedAt": {
      "anyOf": [
        {
          "$ref": "#/$defs/IsoDate"
        },
        {
          "type": "null"
        }
      ]
    },
    "mailFacts": {
      "maxItems": 3,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 100
          },
          "label": {
            "type": "string",
            "maxLength": 120
          },
          "value": {
            "type": "string",
            "maxLength": 60
          }
        },
        "required": [
          "id",
          "label",
          "value"
        ],
        "additionalProperties": false
      }
    },
    "wantsPerson": {
      "type": "boolean"
    },
    "topic": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 48
        },
        {
          "type": "null"
        }
      ]
    },
    "screenerNote": {
      "type": "string",
      "maxLength": 300
    },
    "scheduledFor": {
      "anyOf": [
        {
          "$ref": "#/$defs/IsoDate"
        },
        {
          "type": "null"
        }
      ]
    },
    "via": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "clientName": {
              "type": "string",
              "maxLength": 100
            }
          },
          "required": [
            "clientName"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "bookedLine": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 160
        },
        {
          "type": "null"
        }
      ]
    },
    "again": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "tryAt": {
              "$ref": "#/$defs/IsoDate"
            }
          },
          "required": [
            "tryAt"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "stopRequested": {
      "type": "boolean"
    },
    "notDialled": {
      "type": "boolean"
    },
    "doNotCall": {
      "type": "boolean"
    },
    "retryOf": {
      "anyOf": [
        {
          "$ref": "#/$defs/Id"
        },
        {
          "type": "null"
        }
      ]
    },
    "ownerJoined": {
      "type": "boolean"
    },
    "chase": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "caseId": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^cas_[0-9a-z]+$"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "caseId"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "more": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "sooner": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "caseId": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/Id"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "caseId"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            },
            "again": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "caseId": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/Id"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "caseId"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "sooner",
            "again"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "usedEarlier": {
      "type": "boolean"
    },
    "limits": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "maxPrice": {
              "anyOf": [
                {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "maximum": 1000000
                },
                {
                  "type": "null"
                }
              ]
            },
            "currency": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^[A-Z]{3}$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "window": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "days": {
                      "maxItems": 7,
                      "type": "array",
                      "items": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 6
                      }
                    },
                    "from": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "to": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "days",
                    "from",
                    "to"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            },
            "mustNot": {
              "maxItems": 5,
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 60
              }
            },
            "decide": {
              "type": "string",
              "enum": [
                "first_fit",
                "compare"
              ]
            }
          },
          "required": [
            "maxPrice",
            "currency",
            "window",
            "mustNot",
            "decide"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "callerId": {
      "type": "object",
      "properties": {
        "name": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 15
            },
            {
              "type": "null"
            }
          ]
        },
        "fewerPickUps": {
          "type": "boolean"
        }
      },
      "required": [
        "name",
        "fewerPickUps"
      ],
      "additionalProperties": false
    },
    "targetAddress": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 120
        },
        {
          "type": "null"
        }
      ]
    },
    "candidates": {
      "maxItems": 3,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 80
          },
          "e164": {
            "$ref": "#/$defs/E164"
          },
          "address": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 120
              },
              {
                "type": "null"
              }
            ]
          },
          "openNow": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "opensAt": {
            "anyOf": [
              {
                "$ref": "#/$defs/IsoDate"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name",
          "e164",
          "address"
        ],
        "additionalProperties": false
      }
    },
    "needsNumber": {
      "type": "boolean",
      "const": true
    },
    "askWho": {
      "type": "string",
      "maxLength": 80
    },
    "nearby": {
      "maxItems": 3,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 80
          },
          "e164": {
            "$ref": "#/$defs/E164"
          },
          "address": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 120
              },
              {
                "type": "null"
              }
            ]
          },
          "openNow": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "opensAt": {
            "anyOf": [
              {
                "$ref": "#/$defs/IsoDate"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name",
          "e164",
          "address"
        ],
        "additionalProperties": false
      }
    },
    "quoteJob": {
      "type": "string",
      "maxLength": 80
    },
    "firstCall": {
      "type": "boolean"
    },
    "opensAt": {
      "anyOf": [
        {
          "$ref": "#/$defs/IsoDate"
        },
        {
          "type": "null"
        }
      ]
    },
    "plusAfterFree": {
      "type": "boolean"
    },
    "openAsk": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "id": {
              "$ref": "#/$defs/Id"
            },
            "body": {
              "type": "string",
              "maxLength": 2000
            },
            "actionClass": {
              "type": "string",
              "enum": [
                "errand_question",
                "errand_commitment"
              ]
            },
            "chips": {
              "maxItems": 6,
              "type": "array",
              "items": {
                "$ref": "#/$defs/AskChip"
              }
            },
            "payloadHash": {
              "type": "string"
            },
            "deadline": {
              "$ref": "#/$defs/IsoDate"
            }
          },
          "required": [
            "id",
            "body",
            "actionClass",
            "chips",
            "payloadHash",
            "deadline"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "retries": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9
    },
    "nextAttempt": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "errandId": {
              "$ref": "#/$defs/Id"
            },
            "at": {
              "$ref": "#/$defs/IsoDate"
            }
          },
          "required": [
            "errandId",
            "at"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "heldConfirm": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "price": {
              "type": "string",
              "maxLength": 120
            },
            "when": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 120
                },
                {
                  "type": "null"
                }
              ]
            },
            "hash": {
              "type": "string",
              "pattern": "^[0-9a-f]{64}$"
            }
          },
          "required": [
            "price",
            "when",
            "hash"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "heldBooked": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "what": {
              "type": "string",
              "maxLength": 200
            },
            "when": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 120
                },
                {
                  "type": "null"
                }
              ]
            },
            "reference": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 120
                },
                {
                  "type": "null"
                }
              ]
            },
            "outcomeHash": {
              "type": "string",
              "pattern": "^[0-9a-f]{64}$"
            }
          },
          "required": [
            "what",
            "when",
            "reference",
            "outcomeHash"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "offers": {
      "maxItems": 8,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "when": {
            "type": "string",
            "maxLength": 120
          },
          "price": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 120
              },
              {
                "type": "null"
              }
            ]
          },
          "hash": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "startsAt": {
            "type": "string",
            "maxLength": 40
          },
          "busy": {
            "type": "boolean"
          }
        },
        "required": [
          "when",
          "price",
          "hash"
        ],
        "additionalProperties": false
      }
    },
    "ledgerEntryId": {
      "type": "string",
      "maxLength": 64
    },
    "likelyAsks": {
      "maxItems": 2,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 40
      }
    }
  },
  "required": [
    "id",
    "status",
    "statusLine",
    "request",
    "goal",
    "targetName",
    "targetE164",
    "targetSource",
    "callLang",
    "reportLang",
    "allowedFacts",
    "maxMinutes",
    "holdMode",
    "payloadHash",
    "blocker",
    "outcome",
    "summary",
    "holdMinutes",
    "callSeconds",
    "interactionId",
    "createdAt",
    "approvedAt",
    "endedAt"
  ],
  "additionalProperties": false,
  "$defs": {
    "AskChip": {
      "type": "object",
      "properties": {
        "id": {
          "$ref": "#/$defs/ChipId"
        },
        "label": {
          "type": "string",
          "maxLength": 60
        }
      },
      "required": [
        "id",
        "label"
      ],
      "additionalProperties": false
    },
    "ChipId": {
      "type": "string",
      "pattern": "^[a-z][a-z0-9_]{1,31}$"
    },
    "E164": {
      "type": "string",
      "pattern": "^\\+[1-9]\\d{6,14}$"
    },
    "Id": {
      "type": "string",
      "minLength": 3,
      "maxLength": 64
    },
    "IsoDate": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/vicem-ai-errand-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.