v2

latestOpenAPI 3.1.02026-07-3176157210.9 KB
agents

Get Script

get/agents/{agent_id}/workflow/code

Path parameters

agent_idstring required

Query parameters

as_workflowboolean required

Whether to return code as standalone workflow or just relevant instructions

Whether to return code as standalone workflow or just relevant instructions

infer_response_formatboolean

Whether to infer response_format schema for scrape calls that have instructions but no schema

Whether to infer response_format schema for scrape calls that have instructions but no schema

Headers

x-notte-request-originstring nullable
x-notte-sdk-versionstring nullable

Response

Successful Response

python_scriptstring required

Python script to replicate agent steps

json_actionsobject[] required

Json actions to replicate agent steps