/  Yamcs HTTP API  /  Timeline  /  Get Item

Get ItemΒΆ

Get an item

URI Template

GET /api/timeline/{instance}/items/{id}

Yamcs instance name


Item identifier

Query Parameters


Item source

Response Type

interface TimelineItem {

  // Item identifier.
  // The identifier is set and recognized by the source.
  // It is possible but unlikely that two items coming from two different sources will have the same id.
  // The rdb source sets the id to an uuid
  // The commands source sets the id to the command id
  id: string;

  // Item name
  name: string;
  type: TimelineItemType;
  start: string;  // RFC 3339 timestamp
  duration: string; // Duration in seconds. Example: "3s" or "3.001s"
  tags: string[];

  //if this item is part of a group, this is the group identifier
  groupId: string;

  //if this item time specification is relative to another item, relativeTime contains a reference
  // to that item as well as the relative start (the duration is the same as given by the duration above)
  //note that start of the item will be computed by the server based on the relativeTime before sending the item to the client
  relativeTime: RelativeTime;

  //item description
  description: string;

  //for activities: execution status
  status: ExecutionStatus;

  //for activities: if the status is FAILED or ABORTED, this may indicate the reason
  //some information may also be available in the item log
  failureReason: string;

Related Types

interface RelativeTime {

  // Identifier of the item that this time is relative to.
  relto: string;
  relativeStart: string; // Duration in seconds. Example: "3s" or "3.001s"

enum TimelineItemType {

  //events are the most generic timeline items.

  //unlike events, activities have an execution status
  //manual activity's execution status is controlled by an operator

  //activity which is automatically executed on the server (the status changes automatically)

  //a grouping of other items (events and/or activities)

  //a grouping of activities - unlike the ITEM_GROUP, this group in itself is an automated activity

enum ExecutionStatus {