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

# RunIntegrationActionAPI runs a registered action through the agent's execution
gates.




## OpenAPI

````yaml /api/openapi.json post /v1/integration-actions/run
openapi: 3.0.0
info:
  title: Erdo API
  description: >-
    Erdo's REST API: query and write datasets, run agents, manage threads,
    integrations, pages, evals, workstreams, experiments, and bounded outreach.
    Authenticate with a Bearer API key (erdo_api_...) or scoped token
    (erdo_token_...).
  version: '2026-11-21'
servers:
  - url: https://api.erdo.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/integration-actions/run:
    post:
      summary: >
        RunIntegrationActionAPI runs a registered action through the agent's
        execution

        gates.
      operationId: POST:mcp.RunIntegrationActionAPI
      requestBody:
        content:
          application/json:
            schema:
              properties:
                app:
                  type: string
                input:
                  type: object
                key:
                  type: string
                organization_slug:
                  title: >
                    OrganizationSlug optionally targets an authorized client for
                    read actions only.
                  type: string
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  action_display:
                    type: string
                  app:
                    type: string
                  approval_request_id:
                    type: string
                  decline:
                    $ref: '#/components/schemas/types.DeclineHold'
                  description:
                    type: string
                  error:
                    type: string
                  execution_phase:
                    type: string
                  key:
                    type: string
                  name:
                    type: string
                  result:
                    type: object
                  status:
                    type: string
                type: object
          description: Success response
        default:
          $ref: '#/components/responses/APIError'
components:
  schemas:
    types.DeclineHold:
      description: >
        said why, and nothing new has been said since. No card was filed; the
        proposer is told the decline so it can stop, or re-propose with a
        different reason when the facts have changed.
      properties:
        approval_request_id:
          format: uuid
          title: |
            ApprovalRequestID is the rejected request the hold stands on.
          type: string
        decided_at:
          format: date-time
          type: string
        decided_by_external_ref:
          type: string
        decided_by_user_id:
          description: >
            the calling product's own name for them when it sent one.
            Attribution only.
          format: uuid
          title: >
            DecidedByUserID is the Erdo account that declined;
            DecidedByExternalRef is
          type: string
        reason:
          title: |
            Reason is the decider's own words, verbatim.
          type: string
      title: >
        DeclineHold is the gate's answer when a human already declined this
        subject,
      type: object
  responses:
    APIError:
      content:
        application/json:
          schema:
            externalDocs:
              url: https://pkg.go.dev/encore.dev/beta/errs#Error
            properties:
              code:
                description: Error code
                example: not_found
                externalDocs:
                  url: https://pkg.go.dev/encore.dev/beta/errs#ErrCode
                type: string
              details:
                description: Error details
                type: object
              message:
                description: Error message
                type: string
            title: APIError
            type: object
      description: Error response
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.