Skip to content
GET /automation/{id}/config

Needs view access. Values are returned only to a caller who may edit them. Config values are never packaged into bundles.

Path Parameters

idstring
required·

Resource id

Response Body

can_edit_configboolean
config_blocked_reasonstring,null
draft_schema_differsboolean
revisioninteger
schemaobject,null

The published config_schema, or null when the workflow declares none.

updated_atstring,null
updated_bystring,null
updated_by_namestring,null
valuesobject
curl -X GET 'https://api.elaichi.ai/automation/<id>/config' \
  -H 'Authorization: Bearer $ELAICHI_API_TOKEN' \
  -H 'Content-Type: application/json'
const response = await fetch('https://api.elaichi.ai/automation/<id>/config', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer ' + process.env.ELAICHI_API_TOKEN,
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
import os
import requests

url = "https://api.elaichi.ai/automation/<id>/config"
headers = {
    "Authorization": f"Bearer {os.environ['ELAICHI_API_TOKEN']}",
    "Content-Type": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())