Models

Get all episodes for a model instance

Changed on

Retrieve all episodes for a specific model instance

get/models/i/{instance_id}/episodes

Request

  • Base URL: http://localhost:8000/v1
  • URL: http://localhost:8000/v1/models/i/{instance_id}/episodes
  • Auth: HTTP bearer

Path parameters

instance_idstring uuid required

ID of the model instance to retrieve episodes for

Response

Successfully retrieved list of episodes

instance_idstring uuid required

ID of the model instance this episode belongs to

episode_namestring required

Name of the episode

created_atstring date-time required

Timestamp of when the episode was created

eventsobject[] required

List of events that have occurred in the episode

parametersobject required

Learned parameters of the episode

Example response

[
  {
    "instance_id": "123e4567-e89b-12d3-a456-426614174000",
    "episode_name": "default",
    "created_at": "2024-03-20T12:00:00Z",
    "events": [],
    "parameters": {}
  }
]

Changes