Charthop Process API

The process API from Charthop — 13 operation(s) for process.

GitHub OpenAPI

Operations 17

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/org/{orgId}/process List previously run processes · Retrieve a number of previously run processes #
Ask an LLM
“Which processes have run in my org recently?”
“Can I filter processes by status or type?”
Tell an agent
List processes in org {orgId}.
Show processes in org {orgId} with status {statuses}.
POST /v1/org/{orgId}/process Start a new process · Creates a new process in the pending state #
Ask an LLM
“How do I kick off a new process for a user?”
“Can I set a process's status and options when I create it?”
Tell an agent
Create a {type} process labeled {label} in org {orgId} for user {runUserId} with options {options}.
Start a new process {label} in org {orgId} with status {status} and options {options}.
GET /v1/org/{orgId}/process/last-sync/{appUserId} Check the last sync for an app user · Get last success sync and last sync for given appUserId #
Ask an LLM
“When did an app user last sync successfully?”
“What was the last sync status for a given app user?”
Tell an agent
Get the last sync and last success for app user {appUserId} in org {orgId}.
Show the last sync status of app user {appUserId} in org {orgId}.
POST /v1/org/{orgId}/process/self-serve Start a self-serve process from a file · Creates a new process in the pending state #
Ask an LLM
“How do I start a self-serve process from an uploaded spreadsheet?”
“Is there a row and column limit for self-serve imports?”
Tell an agent
Create a self-serve {type} process in org {orgId}.
Start a self-serve {type} process in org {orgId} with at most {maxRows} rows.
POST /v1/org/{orgId}/process/{createIdOverride} Create a process with a custom create ID · Creates a new process with a specified createId in the pending state #
Ask an LLM
“Can I assign my own create ID to a new process?”
“How do I create a process with a specified create ID override?”
Tell an agent
Create process {label} in org {orgId} with create ID {createIdOverride} for user {runUserId}, type {type}, status {status}, options {options}.
Create a process labeled {label} in org {orgId} using create ID {createIdOverride}.
GET /v1/org/{orgId}/process/{processId} Check a process's status · Check the status of a particular process #
Ask an LLM
“Is my process done yet?”
“Can I see the status of one process by its ID?”
Tell an agent
Check the status of process {processId} in org {orgId}.
Show process {processId} in org {orgId} with showState {showState}.
PATCH /v1/org/{orgId}/process/{processId} Update a process's status or progress · Update the status of a process, marking its progress or setting status to DONE… #
Ask an LLM
“How do I mark a process as done or update its progress?”
“Can I set a process's error message after it runs?”
Tell an agent
Set process {processId} in org {orgId} to status {status}.
Update process {processId} in org {orgId} with progress {progress} and message {message}.
PUT /v1/org/{orgId}/process/{processId}/decrement Step an async process backward · Decrement the step of an asynchronous process #
Ask an LLM
“Can I step an asynchronous process back to the previous step?”
“What happens when I decrement an async process?”
Tell an agent
Decrement process {processId} in org {orgId}.
Step async process {processId} in org {orgId} back one step.
GET /v1/org/{orgId}/process/{processId}/events List events for a process · Get events associated to a particular process #
Ask an LLM
“What events happened during a process?”
“Can I see the event log for one process?”
Tell an agent
List events for process {processId} in org {orgId}.
Show the event history of process {processId} in org {orgId}.
GET /v1/org/{orgId}/process/{processId}/file Download a process's file · Download the file associated with a particular process #
Ask an LLM
“How do I download the file attached to a process?”
“Can I fetch the file a process worked on?”
Tell an agent
Download the file for process {processId} in org {orgId}.
Get the attached file of process {processId} in org {orgId}.
POST /v1/org/{orgId}/process/{processId}/file Attach a file and mark a process done · Upload a file to be attached to a process, and mark the process as complete #
Ask an LLM
“How do I attach an export file and mark a process complete?”
“Can I upload a file to a process and set it to DONE?”
Tell an agent
Attach file {file} to process {processId} in org {orgId} and mark it DONE.
Mark process {processId} in org {orgId} complete with export file {file}.
PUT /v1/org/{orgId}/process/{processId}/increment Step an async process forward · Increment the step of an asynchronous process #
Ask an LLM
“Can I move an asynchronous process to the next step?”
“What does incrementing an async process do?”
Tell an agent
Increment process {processId} in org {orgId}.
Step async process {processId} in org {orgId} forward one step.
GET /v1/org/{orgId}/process/{processId}/log Download a process's log file · Download the newline-delimited JSON log associated with a particular process #
Ask an LLM
“Where can I download the log for a process?”
“Can I read the newline-delimited JSON log of a process?”
Tell an agent
Download the log for process {processId} in org {orgId}.
Get the process log of process {processId} in org {orgId}.
POST /v1/org/{orgId}/process/{processId}/log Append log messages to a process · Append log messages to a process #
Ask an LLM
“How do I add log lines to an existing process?”
“Can I append a log message to a process after it started?”
Tell an agent
Append log {log} to process {processId} in org {orgId}.
Add log message {log} to process {processId} in org {orgId}.
PUT /v1/org/{orgId}/process/{processId}/resume Resume a paused async process · Resume an asynchronous process #
Ask an LLM
“How do I resume an asynchronous process that was paused?”
“Can I restart a paused process without a file?”
Tell an agent
Resume process {processId} in org {orgId}.
Restart paused async process {processId} in org {orgId}.
PUT /v1/org/{orgId}/process/{processId}/resumeWithFile Resume an async process with a file · Resume an asynchronous process #
Ask an LLM
“Can I resume an async process after uploading a file?”
“What do I send to restart a process with a file?”
Tell an agent
Resume process {processId} in org {orgId} with file {file}.
Restart async process {processId} in org {orgId} using file {file}.
PUT /v1/org/{orgId}/process/{processId}/state Update a process's state · Update process state #
Ask an LLM
“How do I update the state of a process?”
“Can I change a process's state data after it starts?”
Tell an agent
Update the state of process {processId} in org {orgId}.
Change the state data of process {processId} in org {orgId}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/charthop:charthop-process-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

charthop-process-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: REST API for ChartHop
  version: V1.0.0
  title: ChartHop Process API
  contact:
    name: ChartHop
    url: https://www.charthop.com
    email: support@charthop.com
servers:
- url: https://localhost
- url: http://localhost
tags:
- name: Process
paths:
  /v1/org/{orgId}/process:
    get:
      tags:
      - Process
      summary: Retrieve a number of previously run processes
      operationId: findProcesses
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: isAppProcess
        in: query
        description: Boolean if an app process
        required: false
        schema:
          type: boolean
      - name: appId
        in: query
        description: App ID to filter by
        required: false
        schema:
          type: string
      - name: parentProcessId
        in: query
        description: Parent process ID to search for children
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: 'Type to filter by. Accepted values: [''auto'', ''manual'']'
        required: false
        schema:
          type: string
      - name: createAtFrom
        in: query
        description: Create at instant from, inclusive
        required: false
        schema:
          type: string
      - name: createAtUntil
        in: query
        description: Create at instant until, exclusive
        required: false
        schema:
          type: string
      - name: statuses
        in: query
        description: 'Statuses to filter by, comma-separated. Accepted values: [''DONE'', ''ERROR'', ''PENDING'', ''RUNNING'', ''DONE_WITH_ERRORS'']'
        required: false
        schema:
          type: string
      - name: isParentProcess
        in: query
        description: Boolean if a parent process
        required: false
        schema:
          type: boolean
      - name: processTypes
        in: query
        description: Process types to filter by, comma-separated.
        required: false
        schema:
          type: string
      - name: searchValue
        in: query
        description: Search term for general filtering
        required: false
        schema:
          type: string
      - name: from
        in: query
        description: from id
        required: false
        schema:
          type: string
      - name: limit
        in: query
        description: limit
        required: false
        schema:
          type: integer
          format: int32
      - name: syncDirections
        in: query
        description: direction
        required: false
        schema:
          type: string
      - name: syncCauses
        in: query
        description: 'V2 Causes to filter by, comma-separated. Accepted values: [''MANUAL'', ''AUTO'', ''EVENT_BASED]'
        required: false
        schema:
          type: string
      - name: runUserId
        in: query
        description: The user id under which the process is run
        required: false
        schema:
          type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResultsProcess'
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
    post:
      tags:
      - Process
      summary: Creates a new process in the pending state
      operationId: createProcess
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Process created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Process'
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateProcess'
        description: Process data to create
        required: true
  /v1/org/{orgId}/process/last-sync/{appUserId}:
    get:
      tags:
      - Process
      summary: Get last success sync and last sync for given appUserId
      operationId: getAppProcessStatus
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: appUserId
        in: path
        description: app user id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppProcessStatus'
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
  /v1/org/{orgId}/process/self-serve:
    post:
      tags:
      - Process
      summary: Creates a new process in the pending state
      operationId: createSelfServeProcess
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: type
        in: query
        description: Process type
        required: true
        schema:
          type: string
      - name: maxRows
        in: query
        description: Max rows allowed in an imported spreadsheet file
        required: false
        schema:
          type: integer
          format: int32
      - name: minColumns
        in: query
        description: Min columns required in an imported spreadsheet file
        required: false
        schema:
          type: integer
          format: int32
      - name: isSync
        in: query
        description: Whether the created process is sync flow or manual flow
        required: false
        schema:
          type: boolean
      responses:
        '201':
          description: Process created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Process'
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
                state: {}
  /v1/org/{orgId}/process/{createIdOverride}:
    post:
      tags:
      - Process
      summary: Creates a new process with a specified createId in the pending state
      operationId: createProcessWithUserId
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: createIdOverride
        in: path
        description: created user id override
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Process created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Process'
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateProcess'
        description: Process data to create
        required: true
  /v1/org/{orgId}/process/{processId}:
    get:
      tags:
      - Process
      summary: Check the status of a particular process
      operationId: getProcess
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: processId
        in: path
        description: process id
        required: true
        schema:
          type: string
      - name: showState
        in: query
        description: showState
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Process'
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
    patch:
      tags:
      - Process
      summary: Update the status of a process, marking its progress or setting status to DONE…
      operationId: updateProcess
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: processId
        in: path
        description: process id
        required: true
        schema:
          type: string
      responses:
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateProcess'
        required: true
  /v1/org/{orgId}/process/{processId}/decrement:
    put:
      tags:
      - Process
      summary: Decrement the step of an asynchronous process
      operationId: decrement
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: processId
        in: path
        description: process id
        required: true
        schema:
          type: string
      responses:
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
  /v1/org/{orgId}/process/{processId}/events:
    get:
      tags:
      - Process
      summary: Get events associated to a particular process
      operationId: getProcessEvents
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: processId
        in: path
        description: process id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProcessEventResponse'
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
  /v1/org/{orgId}/process/{processId}/file:
    get:
      tags:
      - Process
      summary: Download the file associated with a particular process
      operationId: getProcessFile
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: processId
        in: path
        description: process id
        required: true
        schema:
          type: string
      responses:
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
    post:
      tags:
      - Process
      summary: Upload a file to be attached to a process, and mark the process as complete
      operationId: completeWithFileExport
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: processId
        in: path
        description: process id
        required: true
        schema:
          type: string
      responses:
        '400':
          description: invalid manifest data
        '401':
          description: not authorized
        '403':
          description: permission denied
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
  /v1/org/{orgId}/process/{processId}/increment:
    put:
      tags:
      - Process
      summary: Increment the step of an asynchronous process
      operationId: increment
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: processId
        in: path
        description: process id
        required: true
        schema:
          type: string
      responses:
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
  /v1/org/{orgId}/process/{processId}/log:
    get:
      tags:
      - Process
      summary: Download the newline-delimited JSON log associated with a particular process
      operationId: getProcessLogFile
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: processId
        in: path
        description: process id
        required: true
        schema:
          type: string
      responses:
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
    post:
      tags:
      - Process
      summary: Append log messages to a process
      operationId: appendToProcessLogFile
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: processId
        in: path
        description: process id
        required: true
        schema:
          type: string
      responses:
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AppendLogRequest'
        description: log messages to append
        required: true
  /v1/org/{orgId}/process/{processId}/resume:
    put:
      tags:
      - Process
      summary: Resume an asynchronous process
      operationId: resume
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: processId
        in: path
        description: process id
        required: true
        schema:
          type: string
      responses:
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties:
                type: object
        description: data to process
  /v1/org/{orgId}/process/{processId}/resumeWithFile:
    put:
      tags:
      - Process
      summary: Resume an asynchronous process
      operationId: resumeWithFile
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: processId
        in: path
        description: process id
        required: true
        schema:
          type: string
      responses:
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
  /v1/org/{orgId}/process/{processId}/state:
    put:
      tags:
      - Process
      summary: Update process state
      operationId: updateStatefulProcess
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      - name: processId
        in: path
        description: process id
        required: true
        schema:
          type: string
      responses:
        '400':
          description: invalid data
        '401':
          description: not authorized
        '403':
          description: permission denied
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties:
                type: object
        description: state
components:
  schemas:
    ProcessEvent:
      type: object
      required:
      - type
      - updates
      - at
      properties:
        id:
          type: string
          example: 588f7ee98f138b19220041a7
        type:
          type: string
          enum:
          - DEPART
          - HIRE
          - UPDATE
          - CREATE_PERSON
          - ERROR
          - INBOUND
          - CHANGE
          - OUTBOUND_CREATE
          - OUTBOUND_UPDATE
          - OUTBOUND_DELETE
          - INITIATING_CREATE
          - INITIATING_DELETE
        entityData:
          type: object
          additionalProperties:
            type: object
        updates:
          type: array
          items:
            $ref: '#/components/schemas/ProcessEventUpdate'
        at:
          type: string
    Process:
      type: object
      required:
      - id
      - orgId
      - label
      - type
      - status
      - runUserId
      - createId
      - createAt
      - options
      properties:
        id:
          type: string
          description: globally unique id
          example: 588f7ee98f138b19220041a7
        orgId:
          type: string
          description: parent org id
          example: 588f7ee98f138b19220041a7
        label:
          type: string
          description: human-readable label that identifies this process
        type:
          type: string
          description: process type
        status:
          type: string
          description: current status of process
          enum:
          - PENDING
          - RUNNING
          - DONE
          - ERROR
        filePath:
          type: string
          description: data file path
        logPath:
          type: string
          description: data log path
        runUserId:
          type: string
          description: user id who is running the process
          example: 588f7ee98f138b19220041a7
        parentProcessId:
          type: string
          description: process id of parent process
          example: 588f7ee98f138b19220041a7
        createId:
          type: string
          description: created by user id (user who requested the process run)
          example: 588f7ee98f138b19220041a7
        createBehalfId:
          type: string
          description: created on behalf of user id
          example: 588f7ee98f138b19220041a7
        createAttribution:
          $ref: '#/components/schemas/Attribution'
        createAt:
          type: string
          description: created timestamp
          example: '2017-01-24T13:57:52Z'
        updateId:
          type: string
          description: last updated by user id
          example: 588f7ee98f138b19220041a7
        updateBehalfId:
          type: string
          description: last updated on behalf of user id
          example: 588f7ee98f138b19220041a7
        updateAttribution:
          $ref: '#/components/schemas/Attribution'
        updateAt:
          type: string
          description: last updated timestamp
          example: '2017-01-24T13:57:52Z'
        startAt:
          type: string
          description: started at timestamp
          example: '2017-01-24T13:57:52Z'
        endAt:
          type: string
          description: ended at timestamp
          example: '2017-01-24T13:57:52Z'
        message:
          type: string
          description: status or error message
        progress:
          type: number
          format: double
          description: percent progress so far
        internalError:
          type: string
          description: internal-only error message
        options:
          type: object
          description: options passed to the process
        results:
          type: object
          description: results summary for the process
          additionalProperties:
            type: object
        logDataList:
          type: array
          description: list of log data that occurred during running of this process
          items:
            $ref: '#/components/schemas/LogData'
        state:
          type: object
          description: process-specific state data
        summary:
          type: string
          description: human-readable, searchable summary of what this process did
        appId:
          type: string
          description: app id of the process
          example: 588f7ee98f138b19220041a7
        uuid:
          type: string
          description: unique ID of the process at queue time
          example: 84db3c6e-0877-4436-8af1-768c06b29586
    ResultsProcess:
      type: object
      required:
      - data
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Process'
        next:
          type: string
        access:
          type: array
          items:
            $ref: '#/components/schemas/ResultsAccess'
    LogData:
      type: object
      required:
      - level
      - at
      - data
      properties:
        level:
          type: string
          enum:
          - INFO
          - WARN
          - ERROR
        at:
          type: string
          description: created timestamp
          example: '2017-01-24T13:57:52Z'
        message:
          type: string
        data:
          type: object
          additionalProperties:
            type: object
    ProcessEventUpdate:
      type: object
      required:
      - type
      - payload
      properties:
        type:
          type: string
          enum:
          - FIELD
          - CONTACT
          - COMP
          - ERROR
        payload:
          $ref: '#/components/schemas/ProcessEventUpdatePayload'
    AppendLogRequest:
      type: object
      required:
      - log
      properties:
        log:
          type: array
          items:
            $ref: '#/components/schemas/LogData'
    AppProcessStatus:
      type: object
      properties:
        appLastSync:
          description: last application sync
          $ref: '#/components/schemas/Process'
        appLastSuccessSync:
          description: last successful sync
          $ref: '#/components/schemas/Process'
    CreateProcess:
      type: object
      required:
      - orgId
      - label
      - type
      - status
      - runUserId
      - options
      properties:
        orgId:
          type: string
          description: parent org id
          example: 588f7ee98f138b19220041a7
        label:
          type: string
          description: human-readable label that identifies this process
        type:
          type: string
          description: process type
        status:
          type: string
          description: current status of process
          enum:
          - PENDING
          - RUNNING
          - DONE
          - ERROR
        filePath:
          type: string
          description: data file path
        runUserId:
          type: string
          description: user id who is running the process
          example: 588f7ee98f138b19220041a7
        parentProcessId:
          type: string
          description: process id of parent process
          example: 588f7ee98f138b19220041a7
        message:
          type: string
          description: status or error message
        progress:
          type: number
          format: double
          description: percent progress so far
        internalError:
          type: string
          description: internal-only error message
        options:
          type: object
          description: options passed to the process
        results:
          type: object
          description: results summary for the process
          additionalProperties:
            type: object
        logDataList:
          type: array
          description: list of log data that occurred during running of this process
          items:
            $ref: '#/components/schemas/LogData'
        state:
          type: object
          description: process-specific state data
        summary:
          type: string
          description: human-readable, searchable summary of what this process did
        appId:
          type: string
          description: app id of the process
          example: 588f7ee98f138b19220041a7
        uuid:
          type: string
          description: unique ID of the process at queue time
          example: 84db3c6e-0877-4436-8af1-768c06b29586
    ProcessEventResponse:
      type: object
      required:
      - events
      properties:
        events:
          type: array
          items:
            $ref: '#/components/schemas/ProcessEvent'
    Attribution:
      type: object
      properties:
        principalUserId:
          type: string
          example: 588f7ee98f138b19220041a7
        agentUserIds:
          type: array
          items:
            type: string
            example: 588f7ee98f138b19220041a7
        eventId:
          type: string
          example: 588f7ee98f138b19220041a7
        aiChatId:
          type: string
          example: 588f7ee98f138b19220041a7
        aiToolUseId:
          type: string
        channel:
          type: string
          enum:
          - WEB
          - MOBILE
          - SLACK
          - TEAMS
          - MCP
    UpdateProcess:
      type: object
      properties:
        status:
          type: string
          description: current status of process
          enum:
          - PENDING
          - RUNNING
          - DONE
          - ERROR
        filePath:
          type: string
          description: data file path
        message:
          type: string
          description: status or error message
        progress:
          type: number
          format: double
          description: percent progress so far
        internalError:
          type: string
          description: internal-only error message
        options:
          type: object
          description: options passed to the process
        results:
          type: object
          description: results summary for the process
          additionalProperties:
            type: object
        logDataList:
          type: array
          description: list of log data that occurred during running of this process
          items:
            $ref: '#/components/schemas/LogData'
        state:
          type: object
          description: process-specific state data
        summary:
          type: string
          description: human-readable, searchable summary of what this process did
        appId:
          type: string
          description: app id of the process
          example: 588f7ee98f138b19220041a7
    ResultsAccess:
      type: object
      required:
      - allowed
      properties:
        ids:
          type: array
          uniqueItems: true
          items:
            type: string
            example: 588f7ee98f138b19220041a7
        allowed:
          type: array
          uniqueItems: true
          items:
            $ref: '#/components/schemas/AccessAction'
    ProcessEventUpdatePayload:
      type: object
      properties:
        key:
          type: string
        value:
          type: object
        currency:
          type: string
        contactFormat:
          type: string
          enum:
          - PHONE
          - EMAIL
          - ID
        errorMessage:
          type: string
    AccessAction:
      type: object
      required:
      - action
      properties:
        action:
          type: string
        fields:
          type: array
          uniqueItems: true
          items:
            type: string
        types:
          type: array
          uniqueItems: true
          items:
            type: string
x-provenance:
  method: harvested
  publisher: Charthop
  source: https://api.charthop.com/swagger.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)