Updated and supported automatically if there are no breaking changes
All modern .NET features - nullability, trimming, NativeAOT, etc.
Support .Net Framework/.Net Standard 2.0
Usage
123
usingCVAT;usingvarclient=newCVATClient(apiKey);
Client Creation
Basic example showing how to create a CVAT client with API key authentication.
1 2 3 4 5 6 7 8 9101112
// Create a CVAT client using an API Access token.// You can generate a token in the CVAT UI under User Profile > Access Tokens,// or via the /auth/access_tokens API endpoint.usingvarclient=newCVATClient(apiKey);// The client provides access to all CVAT API endpoints via sub-clients:// - client.Projects — manage annotation projects// - client.Tasks — manage annotation tasks// - client.Jobs — manage annotation jobs// - client.Labels — manage annotation labels/categories// - client.Users — manage users// - client.Organizations — manage organizations
MEAI Tools
Example showing how to create MEAI AIFunction tools for use with any IChatClient.
1 2 3 4 5 6 7 8 91011121314151617181920
// Create CVAT AIFunction tools for use with any IChatClient.// These tools allow AI agents to interact with CVAT for// computer vision annotation workflows.usingvarclient=newCVATClient(apiKey);// Create tools for common CVAT operations:varlistProjectsTool=client.AsListProjectsTool();vargetTaskTool=client.AsGetTaskTool();varlistLabelsTool=client.AsListLabelsTool();vargetJobStatusTool=client.AsGetJobStatusTool();// Verify all tools are created successfully:// These tools can be passed to any IChatClient implementation:// var response = await chatClient.GetResponseAsync(// "List all annotation projects",// new ChatOptions// {// Tools = [listProjectsTool, getTaskTool, listLabelsTool, getJobStatusTool],// });