cURL
curl --request GET \ --url https://api.example.com/sessions/{session_id}/workflow/code \ --header 'Authorization: Bearer <token>'
{ "python_script": "<string>", "json_actions": [ {} ] }
The access token received from the authorization server in the OAuth 2.0 flow.
Whether to return code as standalone workflow or just relevant instructions
Whether to infer response_format schema for scrape calls that have instructions but no schema
Successful Response
Python script to replicate agent steps
Json actions to replicate agent steps
Was this page helpful?
Suggestions