agent-studio
List Processors
Platform processors + the team’s own, with latest version, run counts
(split by plane) and the windowed pass_rate. design_access is always
false: the Agent Processor design plane is retired.
Run/flag counts are the CALLER team’s (platform processors are shared definitions; their activity is always per-team).
GET
/
api
/
v1
/
agent-studio
/
processors
List Processors
import requests
url = "https://www.datalab.to/api/v1/agent-studio/processors"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)curl --request GET \
--url https://www.datalab.to/api/v1/agent-studio/processors \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://www.datalab.to/api/v1/agent-studio/processors', 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://www.datalab.to/api/v1/agent-studio/processors"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"processors": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"origin": "platform",
"base_profile": "<string>",
"output_shape": "<string>",
"latest_version": {
"label": "<string>",
"state": "draft",
"contract": {
"goal": "<string>",
"output_shape": "parse",
"output_schema": "<string>",
"rules": [
{
"id": "<string>",
"text": "<string>",
"source": "user"
}
],
"parse_params": {},
"knobs": {
"max_turns": 2,
"timeout_s": 2,
"model": "<string>"
}
},
"checks": [
{
"id": "<string>",
"label": "<string>",
"kind": "code",
"description": "",
"blocking": false,
"source": "base",
"modified_from_base": true
}
],
"caused_by": {},
"created": "2023-11-07T05:31:56Z"
},
"published_version": "<string>",
"run_count": 0,
"execution_run_count": 0,
"design_run_count": 0,
"pass_rate": 0.5,
"open_flag_count": 0,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"design_access": false
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Was this page helpful?
⌘I
List Processors
import requests
url = "https://www.datalab.to/api/v1/agent-studio/processors"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)curl --request GET \
--url https://www.datalab.to/api/v1/agent-studio/processors \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://www.datalab.to/api/v1/agent-studio/processors', 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://www.datalab.to/api/v1/agent-studio/processors"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"processors": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"origin": "platform",
"base_profile": "<string>",
"output_shape": "<string>",
"latest_version": {
"label": "<string>",
"state": "draft",
"contract": {
"goal": "<string>",
"output_shape": "parse",
"output_schema": "<string>",
"rules": [
{
"id": "<string>",
"text": "<string>",
"source": "user"
}
],
"parse_params": {},
"knobs": {
"max_turns": 2,
"timeout_s": 2,
"model": "<string>"
}
},
"checks": [
{
"id": "<string>",
"label": "<string>",
"kind": "code",
"description": "",
"blocking": false,
"source": "base",
"modified_from_base": true
}
],
"caused_by": {},
"created": "2023-11-07T05:31:56Z"
},
"published_version": "<string>",
"run_count": 0,
"execution_run_count": 0,
"design_run_count": 0,
"pass_rate": 0.5,
"open_flag_count": 0,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"design_access": false
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}