Endpoints

POST    <https://vision.gaard.ai/v2/classify>
GET     <https://vision.gaard.ai/v2/result/><ID>
DELETE  <https://vision.gaard.ai/v2/classify/><ID>
GET     <https://vision.gaard.ai/v2/avconv/serve.v2/><VIDEO_NAME>

Send video to classification

POST <https://vision.gaard.ai/v2/classify?sync=true> (default sync is false)
POST <https://vision.gaard.ai/v2/classify>

Response Classification result Response structure :

{
  "id": "66436fc66d24ab9cf81140eb",
  "accepted_at": "2024-05-14T16:05:58.444012022+02:00",
  ...
}

<aside> 💡 The id in the JSON response is the classification ID.

</aside>

Get a classification result

GET <https://vision.gaard.ai/v2/result/><ID>

Download annotated video

In addition to SFT/FTP, you can upload highlight videos using the API endpoint, where VIDEO_NAME can be video.mp4 or video.gif.

GET <https://vision.gaard.ai/v1/avconv/serve.v2/><VIDEO_NAME>

<aside> 💡 Even if a video does not have the .mp4 extension, it will be in MP4 format created with the x264 encoder.

</aside>

Remove result

To delete the video and the results, use the following endpoint:

DELETE <https://vision.gaard.ai/v2/classify/><ID>