Tasks
Create an agent task
Creates a model task. Provide text or image inputs to generate text or JSON outputs. Have the model call your own custom code or use built-in tools like web search or file search to use your own data as input for the model's task.
post/tasks
Request body
Response
OK