Skip to main content
POST
Preview an import of tool definitions from an OpenAPI spec or connector YAML manifest.

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Body

application/json
format
enum<string>
required
Available options:
openapi,
connector_yaml
source
enum<string>
required
Available options:
inline,
url
content
string

Raw spec text. Required when source=inline.

url
string

Public URL to fetch the spec. Required when source=url.

infer_class_domain
boolean

When true (default), calls the LLM to infer class + domain per tool.

Response

Preview of the imported tool definitions.

ok
boolean
required
imported
object[]
required
inferred_class_domain
object
required
conflicts
object[]
required
commit_url
string
required
preview_token
string
required