Skip to content
Get started

Get consumed OpenAPI spec

GET/v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/openapi_spec

Retrieves the current OpenAPI specification JSON that has been consumed by the tool set. Only applicable to tool sets using the OpenAPI adapter.

Path ParametersExpand Collapse
workspaceId: string
toolSetId: string
ReturnsExpand Collapse
spec: optional string

The consumed OpenAPI specification as a JSON string.

Get consumed OpenAPI spec

curl https://api.cadenya.com/v1/workspaces/$WORKSPACE_ID/tool_sets/$TOOL_SET_ID/openapi_spec \
    -H "Authorization: Bearer $CADENYA_API_KEY"
{
  "spec": "spec"
}
Returns Examples
{
  "spec": "spec"
}