Settings
Set engines
Replaces the engines the project samples from now on. Turning one off removes nothing measured; an opt-in the plan does not carry is a 402.
PUT
/
projects
/
{projectId}
/
engines
curl
curl -X PUT "https://api.citino.ai/v1/projects/{projectId}/engines" \
-H "Authorization: Bearer $CITINO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"engines":[]}'import os
import requests
res = requests.put(
"https://api.citino.ai/v1/projects/{projectId}/engines",
headers={"Authorization": f"Bearer {os.environ['CITINO_API_KEY']}"},
json={
"engines": []
},
)
print(res.json())const res = await fetch("https://api.citino.ai/v1/projects/{projectId}/engines", {
method: "PUT",
headers: {
Authorization: `Bearer ${process.env.CITINO_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"engines": []
}),
});
console.log(await res.json());{
"engines": [
"chatgpt"
],
"history": "Existing answers stay. Turning an engine off changes what is collected from now on, not what was measured."
}{
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"detail": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"detail": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"detail": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"detail": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"detail": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"detail": {}
}
}⌘I
curl
curl -X PUT "https://api.citino.ai/v1/projects/{projectId}/engines" \
-H "Authorization: Bearer $CITINO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"engines":[]}'import os
import requests
res = requests.put(
"https://api.citino.ai/v1/projects/{projectId}/engines",
headers={"Authorization": f"Bearer {os.environ['CITINO_API_KEY']}"},
json={
"engines": []
},
)
print(res.json())const res = await fetch("https://api.citino.ai/v1/projects/{projectId}/engines", {
method: "PUT",
headers: {
Authorization: `Bearer ${process.env.CITINO_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"engines": []
}),
});
console.log(await res.json());{
"engines": [
"chatgpt"
],
"history": "Existing answers stay. Turning an engine off changes what is collected from now on, not what was measured."
}{
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"detail": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"detail": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"detail": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"detail": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"detail": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"detail": {}
}
}