Connections

Execute a connection tool

Changed on

Run a tool on any connection by its unified id, with the account's approval policy enforced. always_allow runs now (200); always_ask freezes a pending approval (202); off / not-callable refused. Social/ads connections are operated via their native /v1 endpoints (409).

post/connections/{id}/execute

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

id, string required

Unified public connection id, as returned by GET /connections/connected. Opaque — pass it back verbatim.

Headers

Idempotency-Key, string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

object required
tool, string required

Tool name from GET /connections/{id}/tools

arguments, object

Tool-specific arguments

Response

Tool executed

ConnectionInvocation required
object, 'connection_execution' required
connection, string required

The connection public id

tool, string nullable
status, 'executed' required
result, union

Provider response

Changes

    • info

      added the required property details to the response with the status

    • info

      added the required property request to the response with the status

    • warning

      added the new site enum value to the kind response property for the response status