List trace fields
List currently supported static trace fields.
GET
/
v2
/
traces
/
fields
List trace fields
curl --request GET \
--url https://api.orq.ai/v2/traces/fields \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.orq.ai/v2/traces/fields', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.orq.ai/v2/traces/fields"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"name": "<string>",
"label": "<string>",
"type": "<string>",
"scope": "<string>",
"match": "<string>",
"operators": [
"<string>"
],
"facet": true,
"sortable": true,
"groupable": true,
"aliases": [
"<string>"
],
"enum_values": [
"<string>"
]
}
]
}Was this page helpful?
⌘I
List trace fields
curl --request GET \
--url https://api.orq.ai/v2/traces/fields \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.orq.ai/v2/traces/fields', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.orq.ai/v2/traces/fields"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"name": "<string>",
"label": "<string>",
"type": "<string>",
"scope": "<string>",
"match": "<string>",
"operators": [
"<string>"
],
"facet": true,
"sortable": true,
"groupable": true,
"aliases": [
"<string>"
],
"enum_values": [
"<string>"
]
}
]
}