Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
// This file is auto-generated by @hey-api/openapi-ts
import { oc } from '@orpc/contract'
import * as z from 'zod'
import { zRecommendedAppNotFoundError } from './zod.gen.ts'
import {
zGetExploreAppsByAppIdPath,
zGetExploreAppsByAppIdResponse,
zGetExploreAppsLearnDifyQuery,
zGetExploreAppsLearnDifyResponse,
zGetExploreAppsQuery,
zGetExploreAppsResponse,
zGetExploreBannersQuery,
zGetExploreBannersResponse,
} from './zod.gen.ts'
export const get = oc
.route({
inputStructure: 'detailed',
method: 'GET',
operationId: 'getExploreAppsLearnDify',
path: '/explore/apps/learn-dify',
tags: ['console'],
})
.input(z.object({ query: zGetExploreAppsLearnDifyQuery.optional() }).optional())
.output(zGetExploreAppsLearnDifyResponse)
export const learnDify = {
get,
}
export const get2 = oc
.route({
inputStructure: 'detailed',
method: 'GET',
operationId: 'getExploreAppsByAppId',
path: '/explore/apps/{app_id}',
tags: ['console'],
})
.input(z.object({ params: zGetExploreAppsByAppIdPath }))
.output(zGetExploreAppsByAppIdResponse)
.errors({ recommended_app_not_found: { status: 404, data: zRecommendedAppNotFoundError } })
export const byAppId = {
get: get2,
}
export const get3 = oc
.route({
inputStructure: 'detailed',
method: 'GET',
operationId: 'getExploreApps',
path: '/explore/apps',
tags: ['console'],
})
.input(z.object({ query: zGetExploreAppsQuery.optional() }).optional())
.output(zGetExploreAppsResponse)
export const apps = {
get: get3,
learnDify,
byAppId,
}
/**
* Get banner list
*/
export const get4 = oc
.route({
inputStructure: 'detailed',
method: 'GET',
operationId: 'getExploreBanners',
path: '/explore/banners',
summary: 'Get banner list',
tags: ['default'],
})
.input(z.object({ query: zGetExploreBannersQuery.optional() }).optional())
.output(zGetExploreBannersResponse)
export const banners = {
get: get4,
}
export const explore = {
apps,
banners,
}
export const contract = {
explore,
}