Skip to content
GET /automation/{id}/session/{sessionId}/artifact

A row the caller cannot see comes back with null names and visible false rather than being dropped, so counts stay honest.

Path Parameters

idstring
required·

Resource id

sessionIdstring
required·

Session id

Response Body

next_cursorstring,null
prev_cursorstring,null
resultobject[]
collection_idstring
collection_namestring,null
first_run_idstring
last_run_idstring
row_idstring
row_titlestring,null
row_versioninteger,null
updated_atstring
visibleboolean

False when the caller cannot see the row: the names then come back null.

curl -X GET 'https://api.elaichi.ai/automation/<id>/session/<sessionId>/artifact' \
  -H 'Authorization: Bearer $ELAICHI_API_TOKEN' \
  -H 'Content-Type: application/json'
const response = await fetch('https://api.elaichi.ai/automation/<id>/session/<sessionId>/artifact', {
  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>/session/<sessionId>/artifact"
headers = {
    "Authorization": f"Bearer {os.environ['ELAICHI_API_TOKEN']}",
    "Content-Type": "application/json",
}

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