Appwrite
  1. functions
Appwrite
  • account
    • Delete Account
      DELETE
    • Get Account
      GET
    • Create Account
      POST
    • Update Account Email
      PATCH
    • Create Account JWT
      POST
    • Get Account Logs
      GET
    • Update Account Name
      PATCH
    • Update Account Password
      PATCH
    • Get Account Preferences
      GET
    • Update Account Preferences
      PATCH
    • Create Password Recovery
      POST
    • Complete Password Recovery
      PUT
    • Delete All Account Sessions
      DELETE
    • Get Account Sessions
      GET
    • Create Account Session
      POST
    • Create Anonymous Session
      POST
    • Create Account Session with OAuth2
      GET
    • Delete Account Session
      DELETE
    • Get Session By ID
      GET
    • Create Email Verification
      POST
    • Complete Email Verification
      PUT
  • avatars
    • Get Browser Icon
      GET
    • Get Credit Card Icon
      GET
    • Get Favicon
      GET
    • Get Country Flag
      GET
    • Get Image from URL
      GET
    • Get User Initials
      GET
    • Get QR Code
      GET
  • database
    • List Documents
    • Create Document
    • Delete Document
    • Get Document
    • Update Document
  • functions
    • List Executions
      GET
    • Create Execution
      POST
    • Get Execution
      GET
  • locale
    • Get User Locale
    • List Continents
    • List Countries
    • List EU Countries
    • List Countries Phone Codes
    • List Currencies
    • List Languages
  • storage
    • List Files
    • Create File
    • Delete File
    • Get File
    • Update File
    • Get File for Download
    • Get File Preview
    • Get File for View
  • teams
    • List Teams
    • Create Team
    • Delete Team
    • Get Team
    • Update Team
    • Get Team Memberships
    • Create Team Membership
    • Delete Team Membership
    • Update Membership Roles
    • Update Team Membership Status
  1. functions

List Executions

GET
/functions/{functionId}/executions
functions
Get a list of all the current user function execution logs. You can use the query params to filter your results. On admin mode, this endpoint will return a list of all of the project's executions. Learn more about different API modes.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://appwrite.io/v1/functions//executions'
Response Response Example
{
    "executions": [
        {
            "$id": "string",
            "dateCreated": 0,
            "exitCode": 0,
            "functionId": "string",
            "status": "string",
            "stderr": "string",
            "stdout": "string",
            "time": 0,
            "trigger": "string"
        }
    ],
    "sum": 0
}

Request

Path Params
functionId
string 
required
Function unique ID.
Query Params
search
string 
optional
Search term to filter your list results. Max length: 256 chars.
limit
integer 
optional
Results limit value. By default will return maximum 25 results. Maximum of 100 results allowed per request.
offset
integer 
optional
Results offset. The default value is 0. Use this param to manage pagination.
orderType
string 
optional
Order result by ASC or DESC order.

Responses

🟢200Executions List
application/json
Body
Executions List
executions
array[object (execution) {9}] 
required
List of executions.
$id
string 
required
Execution ID.
dateCreated
integer <int32>
required
The execution creation date in Unix timestamp.
exitCode
integer <int32>
required
The script exit code.
functionId
string 
required
Function ID.
status
string 
required
The status of the function execution. Possible values can be: waiting, processing, completed, or failed.
stderr
string 
required
The script stderr output string. Logs the last 4,000 characters of the execution stderr output
stdout
string 
required
The script stdout output string. Logs the last 4,000 characters of the execution stdout output.
time
number <float>
required
The script execution time in seconds.
trigger
string 
required
The trigger that caused the function to execute. Possible values can be: http, schedule, or event.
sum
integer <int32>
required
Total sum of items in the list.
Modified at 2023-08-16 07:28:13
Previous
Update Document
Next
Create Execution
Built with