PostliftDevelopers
Documentation menu
API reference

VoiceJob

The objects, fields and constraints behind the API.

FieldType & constraints
idrequiredstring
accountIdrequiredstring
staterequiredenumValues: pending, running, succeeded, failed, canceled.
stagerequiredenumValues: fetch, analyze, synthesize, evaluate, complete.
chunkrequiredinteger
fetchedPostsrequiredinteger
pagesrequiredinteger
analyzedChunksrequiredinteger
errorCoderequiredstring | null
createdAtrequiredinteger
finishedAtrequiredinteger | null
View JSON schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "accountId": {
      "type": "string"
    },
    "state": {
      "enum": [
        "pending",
        "running",
        "succeeded",
        "failed",
        "canceled"
      ]
    },
    "stage": {
      "enum": [
        "fetch",
        "analyze",
        "synthesize",
        "evaluate",
        "complete"
      ]
    },
    "chunk": {
      "type": "integer"
    },
    "fetchedPosts": {
      "type": "integer"
    },
    "pages": {
      "type": "integer"
    },
    "analyzedChunks": {
      "type": "integer"
    },
    "errorCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "integer"
    },
    "finishedAt": {
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "id",
    "accountId",
    "state",
    "stage",
    "chunk",
    "fetchedPosts",
    "pages",
    "analyzedChunks",
    "errorCode",
    "createdAt",
    "finishedAt"
  ],
  "additionalProperties": true
}
← All data models