curl --request GET \
--url https://api.vectorshift.ai/v1/object-model/records/{type_id}/{record_id}/activity \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vectorshift.ai/v1/object-model/records/{type_id}/{record_id}/activity"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vectorshift.ai/v1/object-model/records/{type_id}/{record_id}/activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vectorshift.ai/v1/object-model/records/{type_id}/{record_id}/activity",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vectorshift.ai/v1/object-model/records/{type_id}/{record_id}/activity"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vectorshift.ai/v1/object-model/records/{type_id}/{record_id}/activity")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vectorshift.ai/v1/object-model/records/{type_id}/{record_id}/activity")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"events": [
{
"actor_id": "<string>",
"actor_kind": "<string>",
"actor_label": "<string>",
"attributes": [
{
"after": {
"bool": true,
"bytes": "<string>",
"chart": {
"config": {
"bar_chart": {
"orientation": "Horizontal",
"show_record_count_on_chart": true,
"x_axis": {
"field": "<string>",
"include_empty_records": true,
"label": "<string>",
"sort_by": "XAxis",
"sort_order": "Ascending"
},
"y_axis": {
"fields": [
{
"aggregation": "Distinct",
"color": "<string>",
"field": "<string>",
"label": "<string>"
}
],
"value_label": "<string>"
}
},
"description": "<string>",
"donut_chart": {
"categories": {
"field": "<string>",
"legend_title": "<string>",
"order": "Ascending"
},
"color": "<string>",
"show_percentage_on_chart": true,
"show_record_count_in_legend": true,
"values": {
"aggregation": "Distinct",
"summary_field": "<string>",
"value_type": "CountRecords"
}
},
"legend_orientation": "Left",
"line_chart": {
"plot_dots_on_lines": true,
"show_record_count_on_chart": true,
"smooth_lines": true,
"start_at_zero": true,
"x_axis": {
"field": "<string>",
"include_empty_records": true,
"label": "<string>",
"sort_by": "XAxis",
"sort_order": "Ascending"
},
"y_axis": {
"fields": [
{
"aggregation": "Distinct",
"color": "<string>",
"field": "<string>",
"label": "<string>"
}
],
"value_label": "<string>"
}
},
"pie_chart": {
"categories": {
"field": "<string>",
"legend_title": "<string>",
"order": "Ascending"
},
"color": "<string>",
"show_percentage_on_chart": true,
"show_record_count_in_legend": true,
"values": {
"aggregation": "Distinct",
"summary_field": "<string>",
"value_type": "CountRecords"
}
},
"scatter_chart": {
"show_record_count_on_chart": true,
"start_at_zero": true,
"x_axis": {
"field": "<string>",
"include_empty_records": true,
"label": "<string>",
"sort_by": "XAxis",
"sort_order": "Ascending"
},
"y_axis": {
"fields": [
{
"aggregation": "Distinct",
"color": "<string>",
"field": "<string>",
"label": "<string>"
}
],
"value_label": "<string>"
}
},
"time_series_chart": {
"display_options": {
"currency_symbol": "CURRENCY_SYMBOL_UNSPECIFIED",
"default_time_period": "TIME_PERIOD_UNSPECIFIED",
"number_format": "NUMBER_FORMAT_UNSPECIFIED",
"show_percent_change": true,
"unit_suffix": "UNIT_SUFFIX_UNSPECIFIED"
},
"series": [
{
"color": "<string>",
"field": "<string>",
"icon_url": "<string>",
"label": "<string>"
}
],
"x_axis_field": "<string>"
},
"title": "<string>"
},
"dataframe": {
"csv": "<string>",
"dataframe_file": {
"id": "<string>",
"metadata": {
"content_hash": "<string>",
"created_timestamp": "2023-11-07T05:31:56Z",
"mime_type": "<string>",
"name": "<string>",
"path": "<string>",
"save_file_description": "<string>",
"save_file_send": true,
"save_file_target_id": "<string>"
},
"raw_bytes": "<string>"
},
"json": "<string>",
"md": "<string>",
"object_info": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"rows": {
"column_order": [
"<string>"
],
"items": [
{
"values": {}
}
]
},
"sql": {
"integration": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"query": "<string>",
"table_name": "<string>"
}
}
},
"dataframe": {
"csv": "<string>",
"dataframe_file": {
"id": "<string>",
"metadata": {
"content_hash": "<string>",
"created_timestamp": "2023-11-07T05:31:56Z",
"mime_type": "<string>",
"name": "<string>",
"path": "<string>",
"save_file_description": "<string>",
"save_file_send": true,
"save_file_target_id": "<string>"
},
"raw_bytes": "<string>"
},
"json": "<string>",
"md": "<string>",
"object_info": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"rows": {
"column_order": [
"<string>"
],
"items": [
{
"values": {}
}
]
},
"sql": {
"integration": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"query": "<string>",
"table_name": "<string>"
}
},
"double": 123,
"enumeration": {
"items": {}
},
"file": {
"id": "<string>",
"metadata": {
"content_hash": "<string>",
"created_timestamp": "2023-11-07T05:31:56Z",
"mime_type": "<string>",
"name": "<string>",
"path": "<string>",
"save_file_description": "<string>",
"save_file_send": true,
"save_file_target_id": "<string>"
},
"raw_bytes": "<string>"
},
"float": 123,
"folder": {
"children": {
"items": [
{
"file": {
"id": "<string>",
"metadata": {
"content_hash": "<string>",
"created_timestamp": "2023-11-07T05:31:56Z",
"mime_type": "<string>",
"name": "<string>",
"path": "<string>",
"save_file_description": "<string>",
"save_file_send": true,
"save_file_target_id": "<string>"
},
"raw_bytes": "<string>"
},
"folder": "<unknown>"
}
]
},
"metadata": {
"name": "<string>",
"path": "<string>"
}
},
"int32": 123,
"int64": "<string>",
"interpolated": {
"parts": {
"items": "<array>"
},
"sources": [
"<string>"
]
},
"map": {
"items": {}
},
"null": {},
"object_info": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"string": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"uint32": 123,
"uint64": "<string>",
"variable": {
"scope": "global",
"variable_id": "<string>",
"variable_set_id": "<string>"
},
"vec": {
"items": "<array>"
},
"web_page": {
"page_content": "<string>",
"page_html": "<string>",
"page_urls": [
"<string>"
],
"screenshot": "<string>",
"url": "<string>"
}
},
"before": {
"bool": true,
"bytes": "<string>",
"chart": {
"config": {
"bar_chart": {
"orientation": "Horizontal",
"show_record_count_on_chart": true,
"x_axis": {
"field": "<string>",
"include_empty_records": true,
"label": "<string>",
"sort_by": "XAxis",
"sort_order": "Ascending"
},
"y_axis": {
"fields": [
{
"aggregation": "Distinct",
"color": "<string>",
"field": "<string>",
"label": "<string>"
}
],
"value_label": "<string>"
}
},
"description": "<string>",
"donut_chart": {
"categories": {
"field": "<string>",
"legend_title": "<string>",
"order": "Ascending"
},
"color": "<string>",
"show_percentage_on_chart": true,
"show_record_count_in_legend": true,
"values": {
"aggregation": "Distinct",
"summary_field": "<string>",
"value_type": "CountRecords"
}
},
"legend_orientation": "Left",
"line_chart": {
"plot_dots_on_lines": true,
"show_record_count_on_chart": true,
"smooth_lines": true,
"start_at_zero": true,
"x_axis": {
"field": "<string>",
"include_empty_records": true,
"label": "<string>",
"sort_by": "XAxis",
"sort_order": "Ascending"
},
"y_axis": {
"fields": [
{
"aggregation": "Distinct",
"color": "<string>",
"field": "<string>",
"label": "<string>"
}
],
"value_label": "<string>"
}
},
"pie_chart": {
"categories": {
"field": "<string>",
"legend_title": "<string>",
"order": "Ascending"
},
"color": "<string>",
"show_percentage_on_chart": true,
"show_record_count_in_legend": true,
"values": {
"aggregation": "Distinct",
"summary_field": "<string>",
"value_type": "CountRecords"
}
},
"scatter_chart": {
"show_record_count_on_chart": true,
"start_at_zero": true,
"x_axis": {
"field": "<string>",
"include_empty_records": true,
"label": "<string>",
"sort_by": "XAxis",
"sort_order": "Ascending"
},
"y_axis": {
"fields": [
{
"aggregation": "Distinct",
"color": "<string>",
"field": "<string>",
"label": "<string>"
}
],
"value_label": "<string>"
}
},
"time_series_chart": {
"display_options": {
"currency_symbol": "CURRENCY_SYMBOL_UNSPECIFIED",
"default_time_period": "TIME_PERIOD_UNSPECIFIED",
"number_format": "NUMBER_FORMAT_UNSPECIFIED",
"show_percent_change": true,
"unit_suffix": "UNIT_SUFFIX_UNSPECIFIED"
},
"series": [
{
"color": "<string>",
"field": "<string>",
"icon_url": "<string>",
"label": "<string>"
}
],
"x_axis_field": "<string>"
},
"title": "<string>"
},
"dataframe": {
"csv": "<string>",
"dataframe_file": {
"id": "<string>",
"metadata": {
"content_hash": "<string>",
"created_timestamp": "2023-11-07T05:31:56Z",
"mime_type": "<string>",
"name": "<string>",
"path": "<string>",
"save_file_description": "<string>",
"save_file_send": true,
"save_file_target_id": "<string>"
},
"raw_bytes": "<string>"
},
"json": "<string>",
"md": "<string>",
"object_info": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"rows": {
"column_order": [
"<string>"
],
"items": [
{
"values": {}
}
]
},
"sql": {
"integration": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"query": "<string>",
"table_name": "<string>"
}
}
},
"dataframe": {
"csv": "<string>",
"dataframe_file": {
"id": "<string>",
"metadata": {
"content_hash": "<string>",
"created_timestamp": "2023-11-07T05:31:56Z",
"mime_type": "<string>",
"name": "<string>",
"path": "<string>",
"save_file_description": "<string>",
"save_file_send": true,
"save_file_target_id": "<string>"
},
"raw_bytes": "<string>"
},
"json": "<string>",
"md": "<string>",
"object_info": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"rows": {
"column_order": [
"<string>"
],
"items": [
{
"values": {}
}
]
},
"sql": {
"integration": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"query": "<string>",
"table_name": "<string>"
}
},
"double": 123,
"enumeration": {
"items": {}
},
"file": {
"id": "<string>",
"metadata": {
"content_hash": "<string>",
"created_timestamp": "2023-11-07T05:31:56Z",
"mime_type": "<string>",
"name": "<string>",
"path": "<string>",
"save_file_description": "<string>",
"save_file_send": true,
"save_file_target_id": "<string>"
},
"raw_bytes": "<string>"
},
"float": 123,
"folder": {
"children": {
"items": [
{
"file": {
"id": "<string>",
"metadata": {
"content_hash": "<string>",
"created_timestamp": "2023-11-07T05:31:56Z",
"mime_type": "<string>",
"name": "<string>",
"path": "<string>",
"save_file_description": "<string>",
"save_file_send": true,
"save_file_target_id": "<string>"
},
"raw_bytes": "<string>"
},
"folder": "<unknown>"
}
]
},
"metadata": {
"name": "<string>",
"path": "<string>"
}
},
"int32": 123,
"int64": "<string>",
"interpolated": {
"parts": {
"items": "<array>"
},
"sources": [
"<string>"
]
},
"map": {
"items": {}
},
"null": {},
"object_info": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"string": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"uint32": 123,
"uint64": "<string>",
"variable": {
"scope": "global",
"variable_id": "<string>",
"variable_set_id": "<string>"
},
"vec": {
"items": "<array>"
},
"web_page": {
"page_content": "<string>",
"page_html": "<string>",
"page_urls": [
"<string>"
],
"screenshot": "<string>",
"url": "<string>"
}
},
"id": "<string>",
"label": "<string>",
"storage": "<string>",
"unit": "<string>"
}
],
"author_id": "<string>",
"author_label": "<string>",
"kind": "<string>",
"recorded_at": "2023-11-07T05:31:56Z",
"relationships": [
{
"after": [
"<string>"
],
"before": [
"<string>"
],
"id": "<string>"
}
],
"revision": "<string>",
"type_id": "<string>",
"via": "<string>"
}
],
"next_before_revision": "<string>",
"next_cursor": "<string>"
}{
"code": "<string>",
"error": "<string>",
"status": "failed",
"details": {},
"path": "<string>",
"request_id": "<string>",
"result": {}
}{
"code": "<string>",
"error": "<string>",
"status": "failed",
"details": {},
"path": "<string>",
"request_id": "<string>",
"result": {}
}{
"code": "<string>",
"error": "<string>",
"status": "failed",
"details": {},
"path": "<string>",
"request_id": "<string>",
"result": {}
}{
"code": "<string>",
"error": "<string>",
"status": "failed",
"details": {},
"path": "<string>",
"request_id": "<string>",
"result": {}
}{
"code": "<string>",
"error": "<string>",
"status": "failed",
"details": {},
"path": "<string>",
"request_id": "<string>",
"result": {}
}{
"code": "<string>",
"error": "<string>",
"status": "failed",
"details": {},
"path": "<string>",
"request_id": "<string>",
"result": {}
}{
"code": "<string>",
"error": "<string>",
"status": "failed",
"details": {},
"path": "<string>",
"request_id": "<string>",
"result": {}
}{
"code": "<string>",
"error": "<string>",
"status": "failed",
"details": {},
"path": "<string>",
"request_id": "<string>",
"result": {}
}Get record activity
Who changed what on a record, with before and after values, newest first. Filter by kind, who made the change, who it was made for, where it came from and the fields it changed; for a field’s change from one value to another, use POST …/activity/query.
At most one of cursor, before_revision (400 conflicting_parameters).
A list parameter is comma-separated.
curl --request GET \
--url https://api.vectorshift.ai/v1/object-model/records/{type_id}/{record_id}/activity \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vectorshift.ai/v1/object-model/records/{type_id}/{record_id}/activity"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vectorshift.ai/v1/object-model/records/{type_id}/{record_id}/activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vectorshift.ai/v1/object-model/records/{type_id}/{record_id}/activity",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vectorshift.ai/v1/object-model/records/{type_id}/{record_id}/activity"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vectorshift.ai/v1/object-model/records/{type_id}/{record_id}/activity")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vectorshift.ai/v1/object-model/records/{type_id}/{record_id}/activity")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"events": [
{
"actor_id": "<string>",
"actor_kind": "<string>",
"actor_label": "<string>",
"attributes": [
{
"after": {
"bool": true,
"bytes": "<string>",
"chart": {
"config": {
"bar_chart": {
"orientation": "Horizontal",
"show_record_count_on_chart": true,
"x_axis": {
"field": "<string>",
"include_empty_records": true,
"label": "<string>",
"sort_by": "XAxis",
"sort_order": "Ascending"
},
"y_axis": {
"fields": [
{
"aggregation": "Distinct",
"color": "<string>",
"field": "<string>",
"label": "<string>"
}
],
"value_label": "<string>"
}
},
"description": "<string>",
"donut_chart": {
"categories": {
"field": "<string>",
"legend_title": "<string>",
"order": "Ascending"
},
"color": "<string>",
"show_percentage_on_chart": true,
"show_record_count_in_legend": true,
"values": {
"aggregation": "Distinct",
"summary_field": "<string>",
"value_type": "CountRecords"
}
},
"legend_orientation": "Left",
"line_chart": {
"plot_dots_on_lines": true,
"show_record_count_on_chart": true,
"smooth_lines": true,
"start_at_zero": true,
"x_axis": {
"field": "<string>",
"include_empty_records": true,
"label": "<string>",
"sort_by": "XAxis",
"sort_order": "Ascending"
},
"y_axis": {
"fields": [
{
"aggregation": "Distinct",
"color": "<string>",
"field": "<string>",
"label": "<string>"
}
],
"value_label": "<string>"
}
},
"pie_chart": {
"categories": {
"field": "<string>",
"legend_title": "<string>",
"order": "Ascending"
},
"color": "<string>",
"show_percentage_on_chart": true,
"show_record_count_in_legend": true,
"values": {
"aggregation": "Distinct",
"summary_field": "<string>",
"value_type": "CountRecords"
}
},
"scatter_chart": {
"show_record_count_on_chart": true,
"start_at_zero": true,
"x_axis": {
"field": "<string>",
"include_empty_records": true,
"label": "<string>",
"sort_by": "XAxis",
"sort_order": "Ascending"
},
"y_axis": {
"fields": [
{
"aggregation": "Distinct",
"color": "<string>",
"field": "<string>",
"label": "<string>"
}
],
"value_label": "<string>"
}
},
"time_series_chart": {
"display_options": {
"currency_symbol": "CURRENCY_SYMBOL_UNSPECIFIED",
"default_time_period": "TIME_PERIOD_UNSPECIFIED",
"number_format": "NUMBER_FORMAT_UNSPECIFIED",
"show_percent_change": true,
"unit_suffix": "UNIT_SUFFIX_UNSPECIFIED"
},
"series": [
{
"color": "<string>",
"field": "<string>",
"icon_url": "<string>",
"label": "<string>"
}
],
"x_axis_field": "<string>"
},
"title": "<string>"
},
"dataframe": {
"csv": "<string>",
"dataframe_file": {
"id": "<string>",
"metadata": {
"content_hash": "<string>",
"created_timestamp": "2023-11-07T05:31:56Z",
"mime_type": "<string>",
"name": "<string>",
"path": "<string>",
"save_file_description": "<string>",
"save_file_send": true,
"save_file_target_id": "<string>"
},
"raw_bytes": "<string>"
},
"json": "<string>",
"md": "<string>",
"object_info": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"rows": {
"column_order": [
"<string>"
],
"items": [
{
"values": {}
}
]
},
"sql": {
"integration": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"query": "<string>",
"table_name": "<string>"
}
}
},
"dataframe": {
"csv": "<string>",
"dataframe_file": {
"id": "<string>",
"metadata": {
"content_hash": "<string>",
"created_timestamp": "2023-11-07T05:31:56Z",
"mime_type": "<string>",
"name": "<string>",
"path": "<string>",
"save_file_description": "<string>",
"save_file_send": true,
"save_file_target_id": "<string>"
},
"raw_bytes": "<string>"
},
"json": "<string>",
"md": "<string>",
"object_info": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"rows": {
"column_order": [
"<string>"
],
"items": [
{
"values": {}
}
]
},
"sql": {
"integration": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"query": "<string>",
"table_name": "<string>"
}
},
"double": 123,
"enumeration": {
"items": {}
},
"file": {
"id": "<string>",
"metadata": {
"content_hash": "<string>",
"created_timestamp": "2023-11-07T05:31:56Z",
"mime_type": "<string>",
"name": "<string>",
"path": "<string>",
"save_file_description": "<string>",
"save_file_send": true,
"save_file_target_id": "<string>"
},
"raw_bytes": "<string>"
},
"float": 123,
"folder": {
"children": {
"items": [
{
"file": {
"id": "<string>",
"metadata": {
"content_hash": "<string>",
"created_timestamp": "2023-11-07T05:31:56Z",
"mime_type": "<string>",
"name": "<string>",
"path": "<string>",
"save_file_description": "<string>",
"save_file_send": true,
"save_file_target_id": "<string>"
},
"raw_bytes": "<string>"
},
"folder": "<unknown>"
}
]
},
"metadata": {
"name": "<string>",
"path": "<string>"
}
},
"int32": 123,
"int64": "<string>",
"interpolated": {
"parts": {
"items": "<array>"
},
"sources": [
"<string>"
]
},
"map": {
"items": {}
},
"null": {},
"object_info": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"string": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"uint32": 123,
"uint64": "<string>",
"variable": {
"scope": "global",
"variable_id": "<string>",
"variable_set_id": "<string>"
},
"vec": {
"items": "<array>"
},
"web_page": {
"page_content": "<string>",
"page_html": "<string>",
"page_urls": [
"<string>"
],
"screenshot": "<string>",
"url": "<string>"
}
},
"before": {
"bool": true,
"bytes": "<string>",
"chart": {
"config": {
"bar_chart": {
"orientation": "Horizontal",
"show_record_count_on_chart": true,
"x_axis": {
"field": "<string>",
"include_empty_records": true,
"label": "<string>",
"sort_by": "XAxis",
"sort_order": "Ascending"
},
"y_axis": {
"fields": [
{
"aggregation": "Distinct",
"color": "<string>",
"field": "<string>",
"label": "<string>"
}
],
"value_label": "<string>"
}
},
"description": "<string>",
"donut_chart": {
"categories": {
"field": "<string>",
"legend_title": "<string>",
"order": "Ascending"
},
"color": "<string>",
"show_percentage_on_chart": true,
"show_record_count_in_legend": true,
"values": {
"aggregation": "Distinct",
"summary_field": "<string>",
"value_type": "CountRecords"
}
},
"legend_orientation": "Left",
"line_chart": {
"plot_dots_on_lines": true,
"show_record_count_on_chart": true,
"smooth_lines": true,
"start_at_zero": true,
"x_axis": {
"field": "<string>",
"include_empty_records": true,
"label": "<string>",
"sort_by": "XAxis",
"sort_order": "Ascending"
},
"y_axis": {
"fields": [
{
"aggregation": "Distinct",
"color": "<string>",
"field": "<string>",
"label": "<string>"
}
],
"value_label": "<string>"
}
},
"pie_chart": {
"categories": {
"field": "<string>",
"legend_title": "<string>",
"order": "Ascending"
},
"color": "<string>",
"show_percentage_on_chart": true,
"show_record_count_in_legend": true,
"values": {
"aggregation": "Distinct",
"summary_field": "<string>",
"value_type": "CountRecords"
}
},
"scatter_chart": {
"show_record_count_on_chart": true,
"start_at_zero": true,
"x_axis": {
"field": "<string>",
"include_empty_records": true,
"label": "<string>",
"sort_by": "XAxis",
"sort_order": "Ascending"
},
"y_axis": {
"fields": [
{
"aggregation": "Distinct",
"color": "<string>",
"field": "<string>",
"label": "<string>"
}
],
"value_label": "<string>"
}
},
"time_series_chart": {
"display_options": {
"currency_symbol": "CURRENCY_SYMBOL_UNSPECIFIED",
"default_time_period": "TIME_PERIOD_UNSPECIFIED",
"number_format": "NUMBER_FORMAT_UNSPECIFIED",
"show_percent_change": true,
"unit_suffix": "UNIT_SUFFIX_UNSPECIFIED"
},
"series": [
{
"color": "<string>",
"field": "<string>",
"icon_url": "<string>",
"label": "<string>"
}
],
"x_axis_field": "<string>"
},
"title": "<string>"
},
"dataframe": {
"csv": "<string>",
"dataframe_file": {
"id": "<string>",
"metadata": {
"content_hash": "<string>",
"created_timestamp": "2023-11-07T05:31:56Z",
"mime_type": "<string>",
"name": "<string>",
"path": "<string>",
"save_file_description": "<string>",
"save_file_send": true,
"save_file_target_id": "<string>"
},
"raw_bytes": "<string>"
},
"json": "<string>",
"md": "<string>",
"object_info": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"rows": {
"column_order": [
"<string>"
],
"items": [
{
"values": {}
}
]
},
"sql": {
"integration": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"query": "<string>",
"table_name": "<string>"
}
}
},
"dataframe": {
"csv": "<string>",
"dataframe_file": {
"id": "<string>",
"metadata": {
"content_hash": "<string>",
"created_timestamp": "2023-11-07T05:31:56Z",
"mime_type": "<string>",
"name": "<string>",
"path": "<string>",
"save_file_description": "<string>",
"save_file_send": true,
"save_file_target_id": "<string>"
},
"raw_bytes": "<string>"
},
"json": "<string>",
"md": "<string>",
"object_info": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"rows": {
"column_order": [
"<string>"
],
"items": [
{
"values": {}
}
]
},
"sql": {
"integration": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"query": "<string>",
"table_name": "<string>"
}
},
"double": 123,
"enumeration": {
"items": {}
},
"file": {
"id": "<string>",
"metadata": {
"content_hash": "<string>",
"created_timestamp": "2023-11-07T05:31:56Z",
"mime_type": "<string>",
"name": "<string>",
"path": "<string>",
"save_file_description": "<string>",
"save_file_send": true,
"save_file_target_id": "<string>"
},
"raw_bytes": "<string>"
},
"float": 123,
"folder": {
"children": {
"items": [
{
"file": {
"id": "<string>",
"metadata": {
"content_hash": "<string>",
"created_timestamp": "2023-11-07T05:31:56Z",
"mime_type": "<string>",
"name": "<string>",
"path": "<string>",
"save_file_description": "<string>",
"save_file_send": true,
"save_file_target_id": "<string>"
},
"raw_bytes": "<string>"
},
"folder": "<unknown>"
}
]
},
"metadata": {
"name": "<string>",
"path": "<string>"
}
},
"int32": 123,
"int64": "<string>",
"interpolated": {
"parts": {
"items": "<array>"
},
"sources": [
"<string>"
]
},
"map": {
"items": {}
},
"null": {},
"object_info": {
"branch_id": "<string>",
"object_id": "<string>",
"object_type": "Pipeline",
"state_id": "<string>",
"version": {
"major": 123,
"minor": 123,
"patch": 123
}
},
"string": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"uint32": 123,
"uint64": "<string>",
"variable": {
"scope": "global",
"variable_id": "<string>",
"variable_set_id": "<string>"
},
"vec": {
"items": "<array>"
},
"web_page": {
"page_content": "<string>",
"page_html": "<string>",
"page_urls": [
"<string>"
],
"screenshot": "<string>",
"url": "<string>"
}
},
"id": "<string>",
"label": "<string>",
"storage": "<string>",
"unit": "<string>"
}
],
"author_id": "<string>",
"author_label": "<string>",
"kind": "<string>",
"recorded_at": "2023-11-07T05:31:56Z",
"relationships": [
{
"after": [
"<string>"
],
"before": [
"<string>"
],
"id": "<string>"
}
],
"revision": "<string>",
"type_id": "<string>",
"via": "<string>"
}
],
"next_before_revision": "<string>",
"next_cursor": "<string>"
}{
"code": "<string>",
"error": "<string>",
"status": "failed",
"details": {},
"path": "<string>",
"request_id": "<string>",
"result": {}
}{
"code": "<string>",
"error": "<string>",
"status": "failed",
"details": {},
"path": "<string>",
"request_id": "<string>",
"result": {}
}{
"code": "<string>",
"error": "<string>",
"status": "failed",
"details": {},
"path": "<string>",
"request_id": "<string>",
"result": {}
}{
"code": "<string>",
"error": "<string>",
"status": "failed",
"details": {},
"path": "<string>",
"request_id": "<string>",
"result": {}
}{
"code": "<string>",
"error": "<string>",
"status": "failed",
"details": {},
"path": "<string>",
"request_id": "<string>",
"result": {}
}{
"code": "<string>",
"error": "<string>",
"status": "failed",
"details": {},
"path": "<string>",
"request_id": "<string>",
"result": {}
}{
"code": "<string>",
"error": "<string>",
"status": "failed",
"details": {},
"path": "<string>",
"request_id": "<string>",
"result": {}
}{
"code": "<string>",
"error": "<string>",
"status": "failed",
"details": {},
"path": "<string>",
"request_id": "<string>",
"result": {}
}Authorizations
An API key issued with object_model scopes: Authorization: Bearer sk_…. The scopes: object_model:records:read, object_model:records:write, object_model:facts:read, object_model:facts:write, object_model:model:read, object_model:model:configure, object_model:actions:run, object_model:changes:read. An operation's security lists the scopes it needs; several entries mean any one of them will do. A person field (ref(user), ref_list(user)) holds a user id: look people up by email or id with GET /v1/users, outside this API, with a key that also has users:read.
