Models
Create a new episode for a model instance
Changed onCreate a new episode for a specific model instance. Note that the default episode is created automatically when the model instance is created. When a new episode is created, it becomes the current episode for the model instance.
post/models/i/{instance_id}/create-episode
Request
- Base URL: http://localhost:8000/v1
- URL: http://localhost:8000/v1/models/i/{instance_id}/create-episode
- Auth: HTTP bearer
Path parameters
instance_idstring uuid required
ID of the model instance to create episode for
Request body
Response
Successfully created episode
Example response
{
"instance_id": "123e4567-e89b-12d3-a456-426614174000",
"episode_name": "default",
"created_at": "2024-03-20T12:00:00Z",
"events": [],
"parameters": {}
}Changes
- info
added the required property
to the response with the status
- info
- breaking
added required request body
- breaking
removed the required property
from the response with the status - warning
deleted the
pathrequest parameterepisode_name - info
added the required property
to the response with the status
- breaking