Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 2.14 KB

PeriodicAgentCreate.md

File metadata and controls

48 lines (39 loc) · 2.14 KB

PeriodicAgentCreate

Properties

Name Type Description Notes
id int [readonly]
mentor int
title str
username str [readonly]
description str [optional]
prompt str Prompt for the periodic agent if any. [optional]
task PeriodicTask
created_at datetime [readonly]
modified_at datetime [readonly]
enabled bool [readonly]
one_off str [readonly]
platform_key str [readonly]
pathway str [optional]
callback_url str [optional]
callback_secret str [optional]
parent_session_id str [optional]
parent_mentor_id int [optional]
previous_agent int Agent that needs to run before the current agent runs. [optional]
previous_agent_status PreviousAgentStatusEnum The status that the previous agent must be in before this agent gets scheduled. * `success` - Success * `error` - Error * `running` - Running * `pending` - Pending [optional]
previous_agent_output str This will be fed into the run of this agent as part of its input prompt. [readonly]

Example

from iblai.models.periodic_agent_create import PeriodicAgentCreate

# TODO update the JSON string below
json = "{}"
# create an instance of PeriodicAgentCreate from a JSON string
periodic_agent_create_instance = PeriodicAgentCreate.from_json(json)
# print the JSON string representation of the object
print(PeriodicAgentCreate.to_json())

# convert the object into a dict
periodic_agent_create_dict = periodic_agent_create_instance.to_dict()
# create an instance of PeriodicAgentCreate from a dict
periodic_agent_create_from_dict = PeriodicAgentCreate.from_dict(periodic_agent_create_dict)

[Back to Model list] [Back to API list] [Back to README]