Invoke resource

POST/v1/servers/{serverId}/invoke

Invoke a deployed function or HTTP resource by forwarding an HTTP request to its service URL.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
NameLocationTypeRequiredDescription
serverIdpathstringYesResource ID
Query parameters
None.

Body schema

Content type: application/json · Optional

FieldTypeRequiredDescription
methodGET | POST | PUT | PATCH | DELETENo
pathstringNoWorkspace-relative file path.
bodyobjectNo

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Invocation resultapplication/json
FieldTypeRequiredDescription
statusintegerNoCurrent lifecycle status.
okbooleanNo
urlstringNo
bodyobjectNo
textstringNo
headersobjectNo
Invoke resource
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow