v51

latestOpenAPI 3.0.3agplraw.githubusercontent.com2026-08-014010324.1 KB
assignments

Create a new assignment

post/ocs/v2.php/apps/assistant/assignments

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

titlestring required

The title of the new assignment

promptstring required

The prompt to be sent to the assistant when the assignment is executed

startsAtinteger required

The timestamp when the assignment should start being executed

recurrencestring required

The recurrence rule for the assignment, in RRULE format (e.g. "FREQ=DAILY;INTERVAL=1" for a daily assignment)

timezonestring nullable

The timezone for this assignment (either the timezone name or a timezone offset, e.g. "Europe/Berlin" or "+0100" for UTC+1). Defaults to the user's current timezone

Response

User assignments returned