Operations

This page is generated based on the spec located at https://api.glaive.ai/openapi.

All requests should have Authorization and Content-Type headers attached with correct values. A valid API Key and application/json respectively.

Models

Get a URL to download a model

Get a GCS signed URL to download a model by id or version id.

POSThttps://api.glaive.ai/v1/model/download
Body
id*string
Response

Ok

Body
url*string
Request
const response = await fetch('https://api.glaive.ai/v1/model/download', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "id": "text"
    }),
});
const data = await response.json();
Response
{
  "url": "text"
}

Version

Get a URL to download a version

Get a GCS signed URL to download a version by id.

POSThttps://api.glaive.ai/v1/version/download
Body
id*string
Response

Ok

Body
url*string
Request
const response = await fetch('https://api.glaive.ai/v1/version/download', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "id": "text"
    }),
});
const data = await response.json();
Response
{
  "url": "text"
}

Logs

Last updated