Authorizations
Your unique Avido API key
Body
application/json
Request body for creating a new topic
Response
Successfully created topic
Successful response containing the topic data
curl --request POST \
--url https://api.avidoai.com/v0/topics \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"title": "Code Quality",
"baseline": 0.85
}'
{
"data": {
"id": "789e4567-e89b-12d3-a456-426614174000",
"orgId": "org_123456",
"title": "Code Quality",
"baseline": 0.85,
"createdAt": "2024-01-05T12:34:56.789Z",
"modifiedAt": "2024-01-05T12:34:56.789Z"
}
}
Creates a new topic.
curl --request POST \
--url https://api.avidoai.com/v0/topics \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"title": "Code Quality",
"baseline": 0.85
}'
{
"data": {
"id": "789e4567-e89b-12d3-a456-426614174000",
"orgId": "org_123456",
"title": "Code Quality",
"baseline": 0.85,
"createdAt": "2024-01-05T12:34:56.789Z",
"modifiedAt": "2024-01-05T12:34:56.789Z"
}
}
Your unique Avido API key
Request body for creating a new topic
Successfully created topic
Successful response containing the topic data