json.extract! agent_run, :id, :type_agent, :values, :created_at, :updated_at json.url agent_run_url(agent_run, format: :json)