-
Couldn't load subscription status.
- Fork 0
Closed
Labels
Description
Implement create endpoint.
Base path: /api/v2/organizations/{org}/members/{user}
Behavior
- Body:
{ name?, template_id? | recipe_id?, parameters?: { [k]: string }, input?: string } - Require one of
template_idorrecipe_id. - Map
inputto prompt parameter (TBD constant). - Generate name if absent.
- Return task details.
- MVP: template-based creation first, recipe-based creation post-MVP.
Request model
name?: stringtemplate_id?: uuidrecipe_id?: uuid (post-MVP)parameters?: map[string]stringinput?: string (shorthand for prompt)
Response model (task)
id: uuidorganization_id: uuidowner_id: uuiddisplay_name: stringtemplate_id: uuidrecipe_id?: uuid (post-MVP)workspace_id?: uuidstatus:queued | working | idle | paused | completed | failedcreated_at,updated_at,started_at?,completed_at?last_error?: string
References: #838