Inspect an external task subagent
Changed onReturn a subagent's status, result, and produced file references without starting a parent model turn. Supply exactly one of subagentId or toolCallId; the latter can recover a launch whose tool-call outcome is unknown. Requires tasks:read and tools:execute. Returns null when no matching subagent exists. Internal messages, model routes, and raw errors are omitted.
Request
- Base URLhttps://api.adam.new
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://api.adam.new/auth/oauth2/authorizeToken URLhttps://api.adam.new/auth/oauth2/tokenScopestasks:read, tools:execute
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Query parameters
Launch tool-call identifier. Provide this or subagentId, but not both.
Child task UUID. Provide this or toolCallId, but not both.
Response
Changes
- breaking
the response property
//became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - info
response property
subagent/anyOf[subschema #1]/errorlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
subagent/anyOf[subschema #1]/files/items/namelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
subagent/anyOf[subschema #1]/resultlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
subagent/anyOf[subschema #1]/toolCallIdlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200
- breaking
- info
endpoint added
- info