---
title: "Invoke"
method: POST
path: "/api/v1/functions/{function_id}/invoke"
tags: ["Function"]
---

# Invoke

`POST /api/v1/functions/{function_id}/invoke`

Invokes the c1.api.functions.v1.FunctionsService.Invoke method.

## Path parameters

- `function_id` string, required — The functionId field.

## Request body

- C1ApiFunctionsV1FunctionsServiceInvokeRequestInput — The FunctionsServiceInvokeRequest message. This message contains a oneof named arg. Only a single field of the following list may be set at a time: - json
  - `commitId` string — The commitId field.
  - `json` string, base64, nullable — The json field. This field is part of the `arg` oneof. See the documentation for `c1.api.functions.v1.FunctionsServiceInvokeRequest` for more details.

## Response `200`

Successful response

- C1ApiFunctionsV1FunctionsServiceInvokeResponse — The FunctionsServiceInvokeResponse message. This message contains a oneof named resp. Only a single field of the following list may be set at a time: - json
  - `invocationId` string — The invocationId field.
  - `json` string, base64, nullable — The json field. This field is part of the `resp` oneof. See the documentation for `c1.api.functions.v1.FunctionsServiceInvokeResponse` for more details.

## Changes

- **2025-08-20** `182cb087dfa4` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/conductorone/apis/c1-api/changes/api/v1/functions/:function_id/invoke/post.md)

---

[API](https://skmtc.dev/conductorone/apis/c1-api.md) · [All operations](https://skmtc.dev/conductorone/apis/c1-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/conductorone/c1-api/revisions/7fa698b04b81/schema)
