v8

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2025-10-165266542.4 MB
DigitalOcean-public.v2-new_GradientAI Platform

Get Oauth2 URL

To generate an Oauth2-URL for use with your localhost, send a GET request to /v2/gen-ai/oauth2/url. Pass 'http://localhost:3000 as redirect_url

get/v2/gen-ai/oauth2/url

Query parameters

typestring

Type "google" / "dropbox".

redirect_urlstring

The redirect url.

Response

A successful response.

urlstring

The oauth2 url

Example response

{
  "url": "example string"
}