artifactDataPreview
curl --request GET \
--url https://api.askparable.com/api/artifacts/{artifactId}/data-preview \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.askparable.com/api/artifacts/{artifactId}/data-preview"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.askparable.com/api/artifacts/{artifactId}/data-preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.askparable.com/api/artifacts/{artifactId}/data-preview"
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))
}{
"data": {
"rows": [
{}
],
"schema": {},
"truncated": true,
"inference": {
"columnMetadata": [
{
"confidence": "low",
"demoted": true,
"fieldPath": "<string>",
"sampleFailures": 123,
"sampleSeen": 123,
"firstSampleError": "<string>"
}
],
"model": "<string>",
"schema": {},
"tokenInputCount": 123,
"tokenOutputCount": 123
}
},
"meta": {
"requestId": "<string>",
"totalCount": 123
},
"links": {
"first": "<string>",
"last": "<string>",
"next": "<string>",
"prev": "<string>"
}
}{
"error": "<string>"
}{
"error": "<string>"
}artifactDataPreview
Preview the data backing an artifact (first N rows after the header).
limit is optional and capped server-side to 500.
GET
/
api
/
artifacts
/
{artifactId}
/
data-preview
artifactDataPreview
curl --request GET \
--url https://api.askparable.com/api/artifacts/{artifactId}/data-preview \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.askparable.com/api/artifacts/{artifactId}/data-preview"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.askparable.com/api/artifacts/{artifactId}/data-preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.askparable.com/api/artifacts/{artifactId}/data-preview"
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))
}{
"data": {
"rows": [
{}
],
"schema": {},
"truncated": true,
"inference": {
"columnMetadata": [
{
"confidence": "low",
"demoted": true,
"fieldPath": "<string>",
"sampleFailures": 123,
"sampleSeen": 123,
"firstSampleError": "<string>"
}
],
"model": "<string>",
"schema": {},
"tokenInputCount": 123,
"tokenOutputCount": 123
}
},
"meta": {
"requestId": "<string>",
"totalCount": 123
},
"links": {
"first": "<string>",
"last": "<string>",
"next": "<string>",
"prev": "<string>"
}
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Workspace slug. Overrides subdomain-based workspace resolution when provided.
Example:
"acme"
Optional request correlation ID echoed back in the response.
Example:
"550e8400-e29b-41d4-a716-446655440000"
Path Parameters
artifactId parameter UUID v4 with automatic base62 encoding for client-facing APIs
Query Parameters
Response
Successful response
Server-side preview of the data backing an artifact, used by the schema editor. The schema describing the row shape is returned alongside the data so consumers can render without a separate fetch.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes