> ## Documentation Index
> Fetch the complete documentation index at: https://vida.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Execute a registered Computer Agent helper

> Runs a registered helper for the selected Computer Agent. Without a helper query parameter, send the existing JSON body with name and optional arguments. With ?helper=process_event, send the original JSON object unchanged; Vida invokes that registered helper with arguments.payload containing the entire body. Body fields such as name, arguments, helper, targetAccountId, token, and cloud_password remain payload data in this mode and cannot override the URL selection or authentication. Query account selectors are ignored in this mode; the controller authorizes the account in the path. Authenticate raw-payload requests with the token query parameter. An empty or repeated helper query parameter is invalid and never falls back to the existing body contract. Raw-payload mode requires Content-Type application/json and a nonempty JSON body. An explicit empty object {} is accepted; an omitted or zero-byte body is invalid. Vida supplies any managed secrets declared by the helper; secret values are never accepted as execution credentials in this request. Both modes use the existing execution and response handling. This operation does not add scheduling or deduplication; callers must reconcile uncertain execution before retrying.




## OpenAPI

````yaml post /api/v2/computer/accounts/{targetAccountId}/helpers/execute
openapi: 3.0.0
info:
  version: 2.0.0
  title: Vida API
  description: Vida API Documentation
servers:
  - url: https://api.vida.dev
    description: Vida Production
    variables:
      baseUrl:
        default: api.vida.dev
        description: Production API Root
security: []
tags:
  - name: Agents
  - name: Apps
    description: Install Vida apps and use their enabled integration functions.
  - name: Integrations
    description: Configure Vader integrations.
  - name: Inbound Email
    description: Control which senders may create inbound email work for an Agent.
  - name: Features
    description: Inspect capabilities available within an account hierarchy.
  - name: Conversation Logs
    description: Query conversation activity and calculate account-level metrics.
  - name: Computer Agents
    description: Set up, configure, inspect, and manage Vida Computer Agents.
  - name: Computer Agent Sessions
    description: View and reset Computer Agent sessions.
  - name: Accounts
  - name: Agent Templates
    description: Create, manage, and apply reusable Agent configurations.
paths:
  /api/v2/computer/accounts/{targetAccountId}/helpers/execute:
    post:
      tags:
        - Computer Agents
      summary: Execute a registered Computer Agent helper
      description: >
        Runs a registered helper for the selected Computer Agent. Without a
        helper query parameter, send the existing JSON body with name and
        optional arguments. With ?helper=process_event, send the original JSON
        object unchanged; Vida invokes that registered helper with
        arguments.payload containing the entire body. Body fields such as name,
        arguments, helper, targetAccountId, token, and cloud_password remain
        payload data in this mode and cannot override the URL selection or
        authentication. Query account selectors are ignored in this mode; the
        controller authorizes the account in the path. Authenticate raw-payload
        requests with the token query parameter. An empty or repeated helper
        query parameter is invalid and never falls back to the existing body
        contract. Raw-payload mode requires Content-Type application/json and a
        nonempty JSON body. An explicit empty object {} is accepted; an omitted
        or zero-byte body is invalid. Vida supplies any managed secrets declared
        by the helper; secret values are never accepted as execution credentials
        in this request. Both modes use the existing execution and response
        handling. This operation does not add scheduling or deduplication;
        callers must reconcile uncertain execution before retrying.
      operationId: helpersPostExecute
      parameters:
        - name: targetAccountId
          in: path
          required: true
          description: ''
          schema:
            type: string
        - name: helper
          in: query
          required: false
          description: >-
            Registered helper name. When supplied in the URL, the entire JSON
            body is passed as arguments.payload.
          schema:
            type: string
            minLength: 1
          example: process_event
      requestBody:
        required: true
        content:
          application/json:
            schema:
              anyOf:
                - title: Existing helper invocation (helper query parameter absent)
                  type: object
                  required:
                    - name
                  properties:
                    name:
                      type: string
                    arguments:
                      type: object
                      nullable: true
                - title: Raw JSON payload (helper query parameter present)
                  type: object
                  additionalProperties: true
            examples:
              existing:
                summary: Existing body contract; omit the helper query parameter
                value:
                  name: process_event
                  arguments:
                    payload:
                      event_type: checkout_complete
                      session_id: example-session
              rawPayload:
                summary: Original webhook body; supply ?helper=process_event
                value:
                  event_type: checkout_complete
                  session_id: example-session
      responses:
        '200':
          description: Helper execution result, using the existing response contract
        '400':
          description: >-
            Invalid helper selector, body, arguments, or required helper
            configuration
        '401':
          description: Authentication or selected-account access failed
        '404':
          description: Helper is not registered or the selected Computer is unavailable
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: query
      name: token
      description: Vida API Token

````