{
"id": "string", // Unique identifier for the job
"function_id": "string", // ID of the function being executed
"organization_id": "string", // ID of the organization that owns the job
"function": {...details...}, // Detailed information about the function
"status": "string", // Current status: "queued", "started", "finished", or "error"
"created_at": "string", // Timestamp when the job was created
"started_at": "string", // Timestamp when the job started
"completed_at": "string", // Timestamp when the job completed
"inputs": { // Input parameters for the job
"parameter_name": {
"type": "string", // Type of the parameter
"name": "string", // Name of the parameter
"data": any, // Value of the parameter
"description": "string", // Description of the parameter
"schema": object, // Schema definition for the parameter
"run_id": "string" // Run ID if applicable
},
"another_parameter": {
"type": "string",
"name": "string",
"data": any,
"description": "string",
"schema": object,
"run_id": "string"
},
...
},
"outputs": [ // Output results from the job
{
"type": "string", // Type of the output
"name": "string", // Name of the output
"data": object, // Output data
"description": "string", // Description of the output
"schema": object, // Schema definition for the output
"run_id": "string" // Run ID if applicable
}
],
"error": "string", // Error message if the job failed
"visibility": "string", // Visibility setting of the job
"run_id": "string", // Unique run identifier
"children": ["string"], // Child job IDs if applicable
"restarts": number // Number of times the job has been restarted
}