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

Get Execution

GET
/functions/{functionId}/executions/{executionId}
functions
Get a function execution log by its unique ID.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://appwrite.io/v1/functions//executions/'
Response Response Example
{
    "$id": "string",
    "dateCreated": 0,
    "exitCode": 0,
    "functionId": "string",
    "status": "string",
    "stderr": "string",
    "stdout": "string",
    "time": 0,
    "trigger": "string"
}

Request

Path Params
functionId
string 
required
Function unique ID.
executionId
string 
required
Execution unique ID.

Responses

🟢200Execution
application/json
Body
Execution
$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.
Modified at 2023-08-16 07:28:13
Previous
Create Execution
Next
Get User Locale
Built with