curl --request GET \
--url https://api.avidoai.com/v0/reporting/datasources/{id}/columns \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>'{
"data": {
"datasource": "task",
"columns": [
{
"id": "id",
"name": "Task ID",
"type": "string"
},
{
"id": "createdAt",
"name": "Created Date",
"type": "date"
},
{
"id": "title",
"name": "Title",
"type": "string"
},
{
"id": "description",
"name": "Description",
"type": "string"
},
{
"id": "type",
"name": "Task Type",
"type": "string"
},
{
"id": "topicId",
"name": "Topic",
"type": "string"
},
{
"id": "lastTest",
"name": "Last Test Date",
"type": "date"
}
],
"isOrgLevel": false
}
}Returns metadata about the whitelisted columns for a specific datasource that can be used for filtering in reporting queries.
curl --request GET \
--url https://api.avidoai.com/v0/reporting/datasources/{id}/columns \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>'{
"data": {
"datasource": "task",
"columns": [
{
"id": "id",
"name": "Task ID",
"type": "string"
},
{
"id": "createdAt",
"name": "Created Date",
"type": "date"
},
{
"id": "title",
"name": "Title",
"type": "string"
},
{
"id": "description",
"name": "Description",
"type": "string"
},
{
"id": "type",
"name": "Task Type",
"type": "string"
},
{
"id": "topicId",
"name": "Topic",
"type": "string"
},
{
"id": "lastTest",
"name": "Last Test Date",
"type": "date"
}
],
"isOrgLevel": false
}
}Documentation Index
Fetch the complete documentation index at: https://docs.avidoai.com/llms.txt
Use this file to discover all available pages before exploring further.
Your unique Avido API key
Your unique Avido Application ID
Datasource name
task, test, eval, topic, tag "task"
Successfully retrieved datasource column metadata
Response containing datasource column metadata
Metadata about a reporting datasource
Show child attributes