Export agent for runtime
Export a fully-resolved, self-contained agent definition that the @runtypelabs/runtime package can consume directly at boot. Capabilities, flows, and nested sub-agents are inlined recursively (up to 3 levels). MCP credential values are replaced with secret-name references.
Authentication
AuthorizationBearer
API key or Clerk session token
Path parameters
id
Response
Exported agent definition
agentType
config
description
id
name
capabilities
externalConfig
primaryFlow
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error