AgentResponse
Data returned for Agent. Required fields are id, name, category, description, item.
Server-assigned unique identifier
Resource name
alias object
URL-safe short handle
- string
- null
Resource type tag
type object
Subtype within category
- string
- null
collection_id object
Parent collection ID
- string
- null
folder_id object
Identifier of the containing folder.
- string
- null
tags object
Classification labels
- string[]
- null
Mandatory marking ids this resource requires; read-only — set via the marking guard endpoints, not Create/PATCH.
[]created_at object
Creation timestamp (Unix ms)
- integer
- null
updated_at object
Last update timestamp (Unix ms)
- integer
- null
owners object[]
Users and groups that own the resource.
"user.
Possible values: [user, group, public]
avatar_url object
- string
- null
avatar_config object
- object
- null
email object
- string<email>
- null
my_share_scope object
How the current caller received access to the resource.
- string
- null
Possible values: [owner, grant, admin]
Possible values: [chat, event]
chatPossible values: [react, workflow]
reactagent object
- AgentNodeConfig
- null
Agent system instructions
prompts object[]
Reusable Prompt references. Rendered in list order and joined with '\n\n' as the system prefix; inline instructions is appended as a suffix. Empty = inline instructions only.
variables object
{{var}} bindings for the referenced Prompt
- object
- null
LLM provider name
LLM model name
tools object[]
Available tools
- string
- AgentResourceRef
- AgentToolConfig
- object
actors object[]
- string
- AgentResourceRef
- AgentActorConfig
- object
roles object[]
- string
- AgentResourceRef
- object
outputs object
- object
- null
Maximum iteration count
50max_input_tokens object
Maximum input-token budget for the system prompt and conversation history before each model call. The effective limit cannot exceed the selected model's context_window; null uses the D.Hub default.
- integer
- null
Possible values: >= 1
compaction object
Optional per-agent conversation compaction settings. Omit this field to use D.Hub defaults.
- AgentCompaction
- null
Whether conversation compaction is enabled for the agent.
trueFraction of the input-token budget that triggers compaction.
Possible values: > 0 and < 1
0.8Fraction of the input-token budget targeted after compaction. It must be lower than trigger_ratio.
Possible values: > 0 and < 1
0.5Maximum number of tokens allowed in the generated compaction summary. Minimum: 128. Maximum: 8192.
Possible values: >= 128 and <= 8192
1024options object
- object
- null
reasoning_effort object
Default reasoning effort for this agent. A value supplied with an individual request takes precedence; null uses the selected model's default.
- string
- null
Possible values: [low, medium, high, xhigh]
nodes object[]
Unique node ID
Node type
Possible values: [start, end, llm, tool_call, actor_call, if_else, loop, parallel, human_input, error_handler, code, template, variable]
config object필수
Type-specific node configuration
- StartNodeConfig
- EndNodeConfig
- LLMNodeConfig
- ToolCallNodeConfig
- ActorCallNodeConfig
- IfElseNodeConfig
- LoopNodeConfig
- ParallelNodeConfig
- HumanInputNodeConfig
- ErrorHandlerNodeConfig
- CodeNodeConfig
- TemplateNodeConfig
- VariableNodeConfig
variables object[]
Possible values: [string, number, boolean, object, array]
truemetadata object
{}edges object[]
Source node ID
Target node ID
condition object
Condition expression (unconditional if omitted)
- string
- null
[][]conversations object[]
Possible values: [string, number, boolean, array, object]
options object
- object
- null
Whether this is a platform-shipped built-in agent
false{
"id": "string",
"name": "string",
"alias": "string",
"category": "string",
"type": "string",
"collection_id": "string",
"folder_id": "string",
"tags": [
"string"
],
"description": "string",
"markings": [
"string"
],
"created_at": 0,
"updated_at": 0,
"owners": [
{
"id": "string",
"type": "user",
"display_name": "string",
"avatar_url": "string",
"avatar_config": {},
"email": "user@example.com"
}
],
"my_share_scope": "owner",
"input_mode": "chat",
"mode": "react",
"agent": {
"instructions": "string",
"prompts": [
{
"prompt_id": "string",
"variables": {}
}
],
"model_provider": "string",
"model": "string",
"tools": [
"string",
{
"id": "string",
"name": "string"
},
{
"name": "string",
"description": "",
"type": "python",
"function": {
"source": "string",
"inputs": {},
"outputs": {},
"dependencies": [
"string"
],
"decorators": [
{
"decorator": "string",
"name": "string",
"arguments": {}
}
]
},
"require_browser": false,
"options": {}
},
{}
],
"actors": [
"string",
{
"id": "string",
"name": "string"
},
{
"name": "string",
"description": "",
"function": {
"source": "string",
"inputs": {},
"outputs": {},
"dependencies": [
"string"
],
"decorators": [
{
"decorator": "string",
"name": "string",
"arguments": {}
}
]
},
"confirmation_policy": "confirm",
"options": {}
},
{}
],
"roles": [
"string",
{
"id": "string",
"name": "string"
},
{}
],
"outputs": {},
"max_iterations": 50,
"max_input_tokens": 0,
"compaction": {
"enabled": true,
"trigger_ratio": 0.8,
"target_ratio": 0.5,
"summary_max_tokens": 1024
},
"options": {},
"reasoning_effort": "low"
},
"nodes": [
{
"id": "string",
"type": "start",
"config": {
"variables": [
{
"name": "string",
"type": "string",
"required": true,
"description": ""
}
]
},
"metadata": {}
}
],
"edges": [
{
"source": "string",
"target": "string",
"condition": "string"
}
],
"tables": [
"string"
],
"templates": [
"string"
],
"conversations": [
{
"name": "string",
"type": "string",
"description": "string"
}
],
"options": {},
"is_builtin": false
}