updateArtifact
curl --request PATCH \
--url https://api.askparable.com/api/artifacts/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fileName": "<string>",
"path": "<string>"
}
'import requests
url = "https://api.askparable.com/api/artifacts/{id}"
payload = {
"fileName": "<string>",
"path": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({fileName: '<string>', path: '<string>'})
};
fetch('https://api.askparable.com/api/artifacts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.askparable.com/api/artifacts/{id}"
payload := strings.NewReader("{\n \"fileName\": \"<string>\",\n \"path\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {
"createdAt": "<string>",
"createdBy": "<string>",
"fileName": "<string>",
"fileSize": 123,
"fileType": "csv",
"id": "<string>",
"schemaInferenceStatus": "not_requested",
"updatedAt": "<string>",
"updatedBy": "<string>",
"uploadStatus": "pending",
"uploadedBy": {
"email": "<string>",
"id": "<string>",
"name": "<string>"
},
"attributedTapId": "<string>",
"dataSchema": {},
"path": "<string>"
},
"meta": {
"requestId": "<string>",
"totalCount": 123
},
"links": {
"first": "<string>",
"last": "<string>",
"next": "<string>",
"prev": "<string>"
}
}{
"error": "<string>"
}{
"error": "<string>"
}updateArtifact
PATCH /api/artifacts/
Patch mutable fields on an existing artifact (currently path and
fileName). Fields omitted are left unchanged. Pass path: null
explicitly to move the artifact to the workspace root.
PATCH
/
api
/
artifacts
/
{id}
updateArtifact
curl --request PATCH \
--url https://api.askparable.com/api/artifacts/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fileName": "<string>",
"path": "<string>"
}
'import requests
url = "https://api.askparable.com/api/artifacts/{id}"
payload = {
"fileName": "<string>",
"path": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({fileName: '<string>', path: '<string>'})
};
fetch('https://api.askparable.com/api/artifacts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.askparable.com/api/artifacts/{id}"
payload := strings.NewReader("{\n \"fileName\": \"<string>\",\n \"path\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {
"createdAt": "<string>",
"createdBy": "<string>",
"fileName": "<string>",
"fileSize": 123,
"fileType": "csv",
"id": "<string>",
"schemaInferenceStatus": "not_requested",
"updatedAt": "<string>",
"updatedBy": "<string>",
"uploadStatus": "pending",
"uploadedBy": {
"email": "<string>",
"id": "<string>",
"name": "<string>"
},
"attributedTapId": "<string>",
"dataSchema": {},
"path": "<string>"
},
"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
id parameter UUID v4 with automatic base62 encoding for client-facing APIs
Body
application/json