Skip to content
post

Create execution

Endpoint

posthttps://<REGION>.cloud.appwrite.io/v1/functions/{functionId}/executions

Description

Required scopes

executions.writeexecution.write

Authentication

Initialize the Appwrite client with setProject() and ensure the user is signed in. The SDK sends the session header automatically after login.

Path

string
Required

Body

string
boolean
string
enum
object
string
Status
Content type
201
application/json

Execution

Name
Type
Description
string
string
string
arrayof string
string
functions | sites
string
http | schedule | event
waiting | processing | completed | failed | scheduled
string
string
arrayof Headers

Object type

integer
string
arrayof Headers

Object type

string
string
number
string
HTTP
POST /v1/functions/{functionId}/executions HTTP/1.1
Host: cloud.appwrite.io
Content-Type: application/json
Accept: application/json
X-Appwrite-Response-Format: 2.2.0
X-Appwrite-Project: <YOUR_PROJECT_ID>
{
"body": "<BODY>",
"async": false,
"path": "<PATH>",
"method": "GET",
"headers": {},
"scheduledAt": "<SCHEDULED_AT>"
}