Add a timeline comment

Prev Next
Post
/v1alpha/cases/{case_id}/timeline

Adds a comment to the case timeline.

Security
HTTP
Type bearer
Path parameters
case_id
integer (int32) Required

The ID of the case to add the timeline comment for.

Body parameters
Expand All
object
text
string

The content of the comment.

ExampleLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
visibility
object (case_managementtimelinev1Visibility)
id
string
  • VISIBILITY_ID_INTERNAL: The visibility is internal.
  • VISIBILITY_ID_PUBLIC: The visibility is public.
Valid values[ "VISIBILITY_ID_INTERNAL", "VISIBILITY_ID_PUBLIC" ]
Default"VISIBILITY_ID_INTERNAL"
Responses
200

A successful response.

Expand All
object
comment_event
object (v1TimelineEvent)
id
string

The unique identifier of the timeline entry.

case_id
integer (int32)

The ID of the case the timeline entry is associated with.

timestamp
string (date-time)

The time when the timeline entry was created.

added_by
object (v1Actor)
kind
string

The actor kind. Supported values are: USER, WORKFLOW, SOCRATES.

user
object (ActorUser)
email
string

The email of the actor. Only applicable when the actor is a user.

Examplejane@torq.io
case_created
object (v1CaseCreatedDetails)
case
object (v1Case)
id
integer (int32)

The unique identifier of the case.

Example28
pretty_id
string

The unique identifier of the case as displayed on the Cases page.

Example#28
title
string

The case title.

Examplecompromised user device
description
string

The case description.

ExampleA user device is infected with a malware
state
object (case_managementcasesv1State)
value
string

The name of the state. The default states are: new, in progress, on hold, resolved, closed. If your workspace has custom states, you can specify them by name.

Examplenew
severity
object (v1Severity)
value
string

The severity of the case. The possible values are: informational, low, medium, high, critical.

Examplehigh
assignee
string

The email address of the case assignee.

Examplejohn@torq.io
reporter
object (v1Actor)
kind
string

The actor kind. Supported values are: USER, WORKFLOW, SOCRATES.

user
object (ActorUser)
email
string

The email of the actor. Only applicable when the actor is a user.

Examplejane@torq.io
created_at
string (date-time)

The timestamp when the case was created.

updated_at
string (date-time)

The timestamp when the case was last updated.

completed_at
string (date-time)

The timestamp when the case was resolved or closed.

sla
object (v1Sla)
value
string (int64)

The duration, measured in seconds, from the creation of the case until it should be resolved or closed.

Example86400
start_time
string (date-time)

The timestamp when the case was created.

end_time
string (date-time)

The timestamp when the case was resolved or closed.

category
string

The case categpry.

Examplemalware
tags
Array of string

The case tags.

Example[ "user", "phishing" ]
string
tasks
object (v1Tasks)
pending
integer (int64)

The number of pending tasks.

Example3
resolution_summary
object (v1ResolutionSummary)
reason
string

The reason the case was resolved or closed (up to 100 characters).

Exampleuser device was cleaned
details
string

The detailed overview of the case resolution.

ExampleThe user device was cleaned using the following steps: ...
runbook_id
string

The case runbook ID.

case_updated
object (v1CaseUpdatedDetails)
previous
object (v1Case)
id
integer (int32)

The unique identifier of the case.

Example28
pretty_id
string

The unique identifier of the case as displayed on the Cases page.

Example#28
title
string

The case title.

Examplecompromised user device
description
string

The case description.

ExampleA user device is infected with a malware
state
object (case_managementcasesv1State)
value
string

The name of the state. The default states are: new, in progress, on hold, resolved, closed. If your workspace has custom states, you can specify them by name.

Examplenew
severity
object (v1Severity)
value
string

The severity of the case. The possible values are: informational, low, medium, high, critical.

Examplehigh
assignee
string

The email address of the case assignee.

Examplejohn@torq.io
reporter
object (v1Actor)
kind
string

The actor kind. Supported values are: USER, WORKFLOW, SOCRATES.

user
object (ActorUser)
email
string

The email of the actor. Only applicable when the actor is a user.

Examplejane@torq.io
created_at
string (date-time)

The timestamp when the case was created.

updated_at
string (date-time)

The timestamp when the case was last updated.

completed_at
string (date-time)

The timestamp when the case was resolved or closed.

sla
object (v1Sla)
value
string (int64)

The duration, measured in seconds, from the creation of the case until it should be resolved or closed.

Example86400
start_time
string (date-time)

The timestamp when the case was created.

end_time
string (date-time)

The timestamp when the case was resolved or closed.

category
string

The case categpry.

Examplemalware
tags
Array of string

The case tags.

Example[ "user", "phishing" ]
string
tasks
object (v1Tasks)
pending
integer (int64)

The number of pending tasks.

Example3
resolution_summary
object (v1ResolutionSummary)
reason
string

The reason the case was resolved or closed (up to 100 characters).

Exampleuser device was cleaned
details
string

The detailed overview of the case resolution.

ExampleThe user device was cleaned using the following steps: ...
runbook_id
string

The case runbook ID.

current
object (v1Case)
id
integer (int32)

The unique identifier of the case.

Example28
pretty_id
string

The unique identifier of the case as displayed on the Cases page.

Example#28
title
string

The case title.

Examplecompromised user device
description
string

The case description.

ExampleA user device is infected with a malware
state
object (case_managementcasesv1State)
value
string

The name of the state. The default states are: new, in progress, on hold, resolved, closed. If your workspace has custom states, you can specify them by name.

Examplenew
severity
object (v1Severity)
value
string

The severity of the case. The possible values are: informational, low, medium, high, critical.

Examplehigh
assignee
string

The email address of the case assignee.

Examplejohn@torq.io
reporter
object (v1Actor)
kind
string

The actor kind. Supported values are: USER, WORKFLOW, SOCRATES.

user
object (ActorUser)
email
string

The email of the actor. Only applicable when the actor is a user.

Examplejane@torq.io
created_at
string (date-time)

The timestamp when the case was created.

updated_at
string (date-time)

The timestamp when the case was last updated.

completed_at
string (date-time)

The timestamp when the case was resolved or closed.

sla
object (v1Sla)
value
string (int64)

The duration, measured in seconds, from the creation of the case until it should be resolved or closed.

Example86400
start_time
string (date-time)

The timestamp when the case was created.

end_time
string (date-time)

The timestamp when the case was resolved or closed.

category
string

The case categpry.

Examplemalware
tags
Array of string

The case tags.

Example[ "user", "phishing" ]
string
tasks
object (v1Tasks)
pending
integer (int64)

The number of pending tasks.

Example3
resolution_summary
object (v1ResolutionSummary)
reason
string

The reason the case was resolved or closed (up to 100 characters).

Exampleuser device was cleaned
details
string

The detailed overview of the case resolution.

ExampleThe user device was cleaned using the following steps: ...
runbook_id
string

The case runbook ID.

update_mask
string

The fields mask used to update the case.

comment_added
object (v1CommentAdded)
text
string

The text content of the comment added to the case timeline.

execution_triggered
object (v1ExecutionTriggered)
execution_id
string

The ID of the workflow execution triggered from the case.

workflow_name
string

The name of the workflow triggered from the case.

event_id
string

The ID of the trigger event.

workflow_id
string

The ID of the workflow triggered from the case.

revision_id
string

The ID of the workflow revision triggered from the case.

attachment_added
object (v1AttachmentAdded)
attachment
object (v1Attachment)
id
string
case_id
integer (int32)
relative_path
string
file_name
string
size
integer (int32)
created_at
string (date-time)
mime_type
string
static_link
string
attachment_removed
object (v1AttachmentRemoved)
attachment
object (v1Attachment)
id
string
case_id
integer (int32)
relative_path
string
file_name
string
size
integer (int32)
created_at
string (date-time)
mime_type
string
static_link
string
observable_added
object (v1ObservableAdded)
observable_id
integer (int32)

The ID of the observable associated with the case.

observable_type
object (v1ObservableType)
id
string
  • TYPE_ID_UNKNOWN: The observable type is unknown.
  • TYPE_ID_HOSTNAME: The observable type is Hostname.
  • TYPE_ID_IP_ADDRESS: The observable type is IP address.
  • TYPE_ID_MAC_ADDRESS: The observable type is MAC address.
  • TYPE_ID_USER_NAME: The observable type is User name.
  • TYPE_ID_EMAIL_ADDRESS: The observable type is Email.
  • TYPE_ID_URL: The observable type is URL.
  • TYPE_ID_FILE_NAME: The observable type is File name.
  • TYPE_ID_FILE_HASH: The observable type is File hash.
  • TYPE_ID_PROCESS_NAME: The observable type is Process name.
  • TYPE_ID_RESOURCE_UID: The observable type is Resource UID.
  • TYPE_ID_OTHER: The observable type is Other.
Valid values[ "TYPE_ID_UNKNOWN", "TYPE_ID_HOSTNAME", "TYPE_ID_IP_ADDRESS", "TYPE_ID_MAC_ADDRESS", "TYPE_ID_USER_NAME", "TYPE_ID_EMAIL_ADDRESS", "TYPE_ID_URL", "TYPE_ID_FILE_NAME", "TYPE_ID_FILE_HASH", "TYPE_ID_PROCESS_NAME", "TYPE_ID_RESOURCE_UID", "TYPE_ID_OTHER" ]
Default"TYPE_ID_UNKNOWN"
name
string

The name of the observable type. The name is automatically derived from the type ID.

observable_removed
object (v1ObservableRemoved)
observable_id
integer (int32)

The ID of the observable disassociated from the case.

observable_type
object (v1ObservableType)
id
string
  • TYPE_ID_UNKNOWN: The observable type is unknown.
  • TYPE_ID_HOSTNAME: The observable type is Hostname.
  • TYPE_ID_IP_ADDRESS: The observable type is IP address.
  • TYPE_ID_MAC_ADDRESS: The observable type is MAC address.
  • TYPE_ID_USER_NAME: The observable type is User name.
  • TYPE_ID_EMAIL_ADDRESS: The observable type is Email.
  • TYPE_ID_URL: The observable type is URL.
  • TYPE_ID_FILE_NAME: The observable type is File name.
  • TYPE_ID_FILE_HASH: The observable type is File hash.
  • TYPE_ID_PROCESS_NAME: The observable type is Process name.
  • TYPE_ID_RESOURCE_UID: The observable type is Resource UID.
  • TYPE_ID_OTHER: The observable type is Other.
Valid values[ "TYPE_ID_UNKNOWN", "TYPE_ID_HOSTNAME", "TYPE_ID_IP_ADDRESS", "TYPE_ID_MAC_ADDRESS", "TYPE_ID_USER_NAME", "TYPE_ID_EMAIL_ADDRESS", "TYPE_ID_URL", "TYPE_ID_FILE_NAME", "TYPE_ID_FILE_HASH", "TYPE_ID_PROCESS_NAME", "TYPE_ID_RESOURCE_UID", "TYPE_ID_OTHER" ]
Default"TYPE_ID_UNKNOWN"
name
string

The name of the observable type. The name is automatically derived from the type ID.

event_attached
object (case_managementtimelinev1AttachableEvent)
event_pretty_id
string

The pretty ID of the event attached to the case.

event_id
string

The ID of the event attached to the case.

timestamp
string (date-time)

The time when the event occurred.

event_type
string
  • ATTACHABLE_EVENT_TYPE_UNSPECIFIED: The event type is unspecified.
  • ATTACHABLE_EVENT_TYPE_INTEGRATION: An integration trigger event.
  • ATTACHABLE_EVENT_TYPE_MANUAL: An on-demand trigger event.
  • ATTACHABLE_EVENT_TYPE_SCHEDULE: A scheduled trigger event.
  • ATTACHABLE_EVENT_TYPE_NESTED: A nested workflow trigger event.
  • ATTACHABLE_EVENT_TYPE_STEPS: A single step execution event.
  • ATTACHABLE_EVENT_TYPE_INTERNAL: A system event.
Valid values[ "ATTACHABLE_EVENT_TYPE_UNSPECIFIED", "ATTACHABLE_EVENT_TYPE_INTEGRATION", "ATTACHABLE_EVENT_TYPE_MANUAL", "ATTACHABLE_EVENT_TYPE_SCHEDULE", "ATTACHABLE_EVENT_TYPE_NESTED", "ATTACHABLE_EVENT_TYPE_STEPS", "ATTACHABLE_EVENT_TYPE_INTERNAL" ]
Default"ATTACHABLE_EVENT_TYPE_UNSPECIFIED"
event_name
string

The name of the event.

custom_field_updated
object (v1CustomFieldUpdated)
previous
object (custom_fieldsv1CustomField)
key
string

The key of the custom field.

Examplefoo
case_id
integer (int32)

The ID of the case to which the custom field applies.

Example123
value
string

The value of the custom field.

Examplebar
schema
object (v1CustomFieldSchema)
type
string

The custom field type enum.

  • TYPE_UNSPECIFIED: The custom field value type is unspecified.
  • TYPE_SHORT_TEXT: The custom field value type is text.
  • TYPE_NUMBER: The custom field value type is number.
  • TYPE_BOOLEAN: The custom field value type is boolean.
  • TYPE_TIMESTAMP: The custom field value type is timestamp.
  • TYPE_LIST_SINGLE_SELECT: The custom field value type is list single select.
Valid values[ "TYPE_UNSPECIFIED", "TYPE_SHORT_TEXT", "TYPE_NUMBER", "TYPE_BOOLEAN", "TYPE_TIMESTAMP", "TYPE_LIST_SINGLE_SELECT" ]
Default"TYPE_UNSPECIFIED"
short_text
object (CustomFieldSchemaShortTextConstraints)

The constraints applied to the custom field value if the type is TYPE_SHORT_TEXT.

min_length
integer (int32)

The minimum length of the custom field value.

Example1
max_length
integer (int32)

The maximum length of the custom field value.

Example255
regex
string

The regular expression that the custom field value must match.

Example^foo$
single_select
object (CustomFieldSchemaSingleSelectConstraints)

The constraints applied to the custom field value if the type is TYPE_LIST_SINGLE_SELECT.

allowed_values
Array of string

The list of acceptable values for the custom field.

Example[ "foo", "bar" ]
string
current
object (custom_fieldsv1CustomField)
key
string

The key of the custom field.

Examplefoo
case_id
integer (int32)

The ID of the case to which the custom field applies.

Example123
value
string

The value of the custom field.

Examplebar
schema
object (v1CustomFieldSchema)
type
string

The custom field type enum.

  • TYPE_UNSPECIFIED: The custom field value type is unspecified.
  • TYPE_SHORT_TEXT: The custom field value type is text.
  • TYPE_NUMBER: The custom field value type is number.
  • TYPE_BOOLEAN: The custom field value type is boolean.
  • TYPE_TIMESTAMP: The custom field value type is timestamp.
  • TYPE_LIST_SINGLE_SELECT: The custom field value type is list single select.
Valid values[ "TYPE_UNSPECIFIED", "TYPE_SHORT_TEXT", "TYPE_NUMBER", "TYPE_BOOLEAN", "TYPE_TIMESTAMP", "TYPE_LIST_SINGLE_SELECT" ]
Default"TYPE_UNSPECIFIED"
short_text
object (CustomFieldSchemaShortTextConstraints)

The constraints applied to the custom field value if the type is TYPE_SHORT_TEXT.

min_length
integer (int32)

The minimum length of the custom field value.

Example1
max_length
integer (int32)

The maximum length of the custom field value.

Example255
regex
string

The regular expression that the custom field value must match.

Example^foo$
single_select
object (CustomFieldSchemaSingleSelectConstraints)

The constraints applied to the custom field value if the type is TYPE_LIST_SINGLE_SELECT.

allowed_values
Array of string

The list of acceptable values for the custom field.

Example[ "foo", "bar" ]
string
user_input_task_assigned
object (v1UserInputTaskAssigned)
task
object (v1UserInputTask)
id
string

The unique identifier of the user input task.

name
string

The name of the user input task.

execution_id
string

The ID of the workflow execution in which the user input task was assigned to the case.

created_at
string (date-time)

The timestamp when the user input task was assigned.

updated_at
string (date-time)

The timestamp when the user input task was last updated.

state
string
  • STATE_UNSPECIFIED: STATE_UNSPECIFIED
  • STATE_PENDING: STATE_PENDING
  • STATE_RESPONDED: STATE_RESPONDED
  • STATE_TIMED_OUT: STATE_TIMED_OUT
Valid values[ "STATE_UNSPECIFIED", "STATE_PENDING", "STATE_RESPONDED", "STATE_TIMED_OUT" ]
Default"STATE_UNSPECIFIED"
case_id
integer (int32)

The ID of the case the user input task was assigned to.

workflow_id
string

The ID of the workflow during the execution of which the user input task was assigned.

webpage_id
string

The ID that is used to access the form in the app.

user_input_task_submitted
object (v1UserInputTaskSubmitted)
task
object (v1UserInputTask)
id
string

The unique identifier of the user input task.

name
string

The name of the user input task.

execution_id
string

The ID of the workflow execution in which the user input task was assigned to the case.

created_at
string (date-time)

The timestamp when the user input task was assigned.

updated_at
string (date-time)

The timestamp when the user input task was last updated.

state
string
  • STATE_UNSPECIFIED: STATE_UNSPECIFIED
  • STATE_PENDING: STATE_PENDING
  • STATE_RESPONDED: STATE_RESPONDED
  • STATE_TIMED_OUT: STATE_TIMED_OUT
Valid values[ "STATE_UNSPECIFIED", "STATE_PENDING", "STATE_RESPONDED", "STATE_TIMED_OUT" ]
Default"STATE_UNSPECIFIED"
case_id
integer (int32)

The ID of the case the user input task was assigned to.

workflow_id
string

The ID of the workflow during the execution of which the user input task was assigned.

webpage_id
string

The ID that is used to access the form in the app.

user_input_task_timed_out
object (v1UserInputTaskTimedOut)
task
object (v1UserInputTask)
id
string

The unique identifier of the user input task.

name
string

The name of the user input task.

execution_id
string

The ID of the workflow execution in which the user input task was assigned to the case.

created_at
string (date-time)

The timestamp when the user input task was assigned.

updated_at
string (date-time)

The timestamp when the user input task was last updated.

state
string
  • STATE_UNSPECIFIED: STATE_UNSPECIFIED
  • STATE_PENDING: STATE_PENDING
  • STATE_RESPONDED: STATE_RESPONDED
  • STATE_TIMED_OUT: STATE_TIMED_OUT
Valid values[ "STATE_UNSPECIFIED", "STATE_PENDING", "STATE_RESPONDED", "STATE_TIMED_OUT" ]
Default"STATE_UNSPECIFIED"
case_id
integer (int32)

The ID of the case the user input task was assigned to.

workflow_id
string

The ID of the workflow during the execution of which the user input task was assigned.

webpage_id
string

The ID that is used to access the form in the app.

link_created
object (v1LinkCreated)
link
object (v1Link)
first_case_id
integer (int32)

The ID of the first case in the link. Provide a value for this field when creating, updating or deleting a link.

Example28
second_case_id
integer (int32)

The ID of the second case in the link. Provide a value for this field when creating, updating or deleting a link.

Example27
description
string

The link description. This field is optional.

Examplefrom the same incident
actor
object (v1Actor)
kind
string

The actor kind. Supported values are: USER, WORKFLOW, SOCRATES.

user
object (ActorUser)
email
string

The email of the actor. Only applicable when the actor is a user.

Examplejane@torq.io
created_at
string (date-time)

The time when the link was created. This field value is automatically generated.

Example1988-04-13T12:11:00Z
updated_at
string (date-time)

The time when the link was updated. Only the link relations can be updated; this field value is automatically generated.

Example1988-04-13T12:11:00Z
first_case_relation
string

The relation of the first case to the second case. Provide a value for this field when creating or updating a link. The possible values are: parent_of/child_of, duplicate_of/duplicate_by, blocking/blocked_by, or other.

Exampleparent_of
second_case_relation
string

The relation of the second case to the first case. Provide a value for this field when creating or updating a link. The value should complement the first_case_relation field value; for instance, if the first_case_relation is set to parent_of, the second_case_relation value should be child_of.

Examplechild_of
link_updated
object (v1LinkUpdated)
previous
object (v1Link)
first_case_id
integer (int32)

The ID of the first case in the link. Provide a value for this field when creating, updating or deleting a link.

Example28
second_case_id
integer (int32)

The ID of the second case in the link. Provide a value for this field when creating, updating or deleting a link.

Example27
description
string

The link description. This field is optional.

Examplefrom the same incident
actor
object (v1Actor)
kind
string

The actor kind. Supported values are: USER, WORKFLOW, SOCRATES.

user
object (ActorUser)
email
string

The email of the actor. Only applicable when the actor is a user.

Examplejane@torq.io
created_at
string (date-time)

The time when the link was created. This field value is automatically generated.

Example1988-04-13T12:11:00Z
updated_at
string (date-time)

The time when the link was updated. Only the link relations can be updated; this field value is automatically generated.

Example1988-04-13T12:11:00Z
first_case_relation
string

The relation of the first case to the second case. Provide a value for this field when creating or updating a link. The possible values are: parent_of/child_of, duplicate_of/duplicate_by, blocking/blocked_by, or other.

Exampleparent_of
second_case_relation
string

The relation of the second case to the first case. Provide a value for this field when creating or updating a link. The value should complement the first_case_relation field value; for instance, if the first_case_relation is set to parent_of, the second_case_relation value should be child_of.

Examplechild_of
current
object (v1Link)
first_case_id
integer (int32)

The ID of the first case in the link. Provide a value for this field when creating, updating or deleting a link.

Example28
second_case_id
integer (int32)

The ID of the second case in the link. Provide a value for this field when creating, updating or deleting a link.

Example27
description
string

The link description. This field is optional.

Examplefrom the same incident
actor
object (v1Actor)
kind
string

The actor kind. Supported values are: USER, WORKFLOW, SOCRATES.

user
object (ActorUser)
email
string

The email of the actor. Only applicable when the actor is a user.

Examplejane@torq.io
created_at
string (date-time)

The time when the link was created. This field value is automatically generated.

Example1988-04-13T12:11:00Z
updated_at
string (date-time)

The time when the link was updated. Only the link relations can be updated; this field value is automatically generated.

Example1988-04-13T12:11:00Z
first_case_relation
string

The relation of the first case to the second case. Provide a value for this field when creating or updating a link. The possible values are: parent_of/child_of, duplicate_of/duplicate_by, blocking/blocked_by, or other.

Exampleparent_of
second_case_relation
string

The relation of the second case to the first case. Provide a value for this field when creating or updating a link. The value should complement the first_case_relation field value; for instance, if the first_case_relation is set to parent_of, the second_case_relation value should be child_of.

Examplechild_of
link_deleted
object (v1LinkDeleted)
link
object (v1Link)
first_case_id
integer (int32)

The ID of the first case in the link. Provide a value for this field when creating, updating or deleting a link.

Example28
second_case_id
integer (int32)

The ID of the second case in the link. Provide a value for this field when creating, updating or deleting a link.

Example27
description
string

The link description. This field is optional.

Examplefrom the same incident
actor
object (v1Actor)
kind
string

The actor kind. Supported values are: USER, WORKFLOW, SOCRATES.

user
object (ActorUser)
email
string

The email of the actor. Only applicable when the actor is a user.

Examplejane@torq.io
created_at
string (date-time)

The time when the link was created. This field value is automatically generated.

Example1988-04-13T12:11:00Z
updated_at
string (date-time)

The time when the link was updated. Only the link relations can be updated; this field value is automatically generated.

Example1988-04-13T12:11:00Z
first_case_relation
string

The relation of the first case to the second case. Provide a value for this field when creating or updating a link. The possible values are: parent_of/child_of, duplicate_of/duplicate_by, blocking/blocked_by, or other.

Exampleparent_of
second_case_relation
string

The relation of the second case to the first case. Provide a value for this field when creating or updating a link. The value should complement the first_case_relation field value; for instance, if the first_case_relation is set to parent_of, the second_case_relation value should be child_of.

Examplechild_of
event_detached
object (case_managementtimelinev1AttachableEvent)
event_pretty_id
string

The pretty ID of the event attached to the case.

event_id
string

The ID of the event attached to the case.

timestamp
string (date-time)

The time when the event occurred.

event_type
string
  • ATTACHABLE_EVENT_TYPE_UNSPECIFIED: The event type is unspecified.
  • ATTACHABLE_EVENT_TYPE_INTEGRATION: An integration trigger event.
  • ATTACHABLE_EVENT_TYPE_MANUAL: An on-demand trigger event.
  • ATTACHABLE_EVENT_TYPE_SCHEDULE: A scheduled trigger event.
  • ATTACHABLE_EVENT_TYPE_NESTED: A nested workflow trigger event.
  • ATTACHABLE_EVENT_TYPE_STEPS: A single step execution event.
  • ATTACHABLE_EVENT_TYPE_INTERNAL: A system event.
Valid values[ "ATTACHABLE_EVENT_TYPE_UNSPECIFIED", "ATTACHABLE_EVENT_TYPE_INTEGRATION", "ATTACHABLE_EVENT_TYPE_MANUAL", "ATTACHABLE_EVENT_TYPE_SCHEDULE", "ATTACHABLE_EVENT_TYPE_NESTED", "ATTACHABLE_EVENT_TYPE_STEPS", "ATTACHABLE_EVENT_TYPE_INTERNAL" ]
Default"ATTACHABLE_EVENT_TYPE_UNSPECIFIED"
event_name
string

The name of the event.

note_added
object (v1NoteAdded)
note
object (v1Note)
id
string

The ID of the note.

case_id
integer (int32)

The ID of the case.

Example28
title
string

The title of the note.

ExampleLorem Ipsum
content
string

The content of the note.

ExampleLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
created_by
object (v1Actor)
kind
string

The actor kind. Supported values are: USER, WORKFLOW, SOCRATES.

user
object (ActorUser)
email
string

The email of the actor. Only applicable when the actor is a user.

Examplejane@torq.io
updated_by
object (v1Actor)
kind
string

The actor kind. Supported values are: USER, WORKFLOW, SOCRATES.

user
object (ActorUser)
email
string

The email of the actor. Only applicable when the actor is a user.

Examplejane@torq.io
created_at
string (date-time)

The time the note was created.

updated_at
string (date-time)

The time the note was last updated.

note_removed
object (v1NoteRemoved)
note
object (v1Note)
id
string

The ID of the note.

case_id
integer (int32)

The ID of the case.

Example28
title
string

The title of the note.

ExampleLorem Ipsum
content
string

The content of the note.

ExampleLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
created_by
object (v1Actor)
kind
string

The actor kind. Supported values are: USER, WORKFLOW, SOCRATES.

user
object (ActorUser)
email
string

The email of the actor. Only applicable when the actor is a user.

Examplejane@torq.io
updated_by
object (v1Actor)
kind
string

The actor kind. Supported values are: USER, WORKFLOW, SOCRATES.

user
object (ActorUser)
email
string

The email of the actor. Only applicable when the actor is a user.

Examplejane@torq.io
created_at
string (date-time)

The time the note was created.

updated_at
string (date-time)

The time the note was last updated.

note_updated
object (v1NoteUpdated)
previous
object (v1Note)
id
string

The ID of the note.

case_id
integer (int32)

The ID of the case.

Example28
title
string

The title of the note.

ExampleLorem Ipsum
content
string

The content of the note.

ExampleLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
created_by
object (v1Actor)
kind
string

The actor kind. Supported values are: USER, WORKFLOW, SOCRATES.

user
object (ActorUser)
email
string

The email of the actor. Only applicable when the actor is a user.

Examplejane@torq.io
updated_by
object (v1Actor)
kind
string

The actor kind. Supported values are: USER, WORKFLOW, SOCRATES.

user
object (ActorUser)
email
string

The email of the actor. Only applicable when the actor is a user.

Examplejane@torq.io
created_at
string (date-time)

The time the note was created.

updated_at
string (date-time)

The time the note was last updated.

current
object (v1Note)
id
string

The ID of the note.

case_id
integer (int32)

The ID of the case.

Example28
title
string

The title of the note.

ExampleLorem Ipsum
content
string

The content of the note.

ExampleLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
created_by
object (v1Actor)
kind
string

The actor kind. Supported values are: USER, WORKFLOW, SOCRATES.

user
object (ActorUser)
email
string

The email of the actor. Only applicable when the actor is a user.

Examplejane@torq.io
updated_by
object (v1Actor)
kind
string

The actor kind. Supported values are: USER, WORKFLOW, SOCRATES.

user
object (ActorUser)
email
string

The email of the actor. Only applicable when the actor is a user.

Examplejane@torq.io
created_at
string (date-time)

The time the note was created.

updated_at
string (date-time)

The time the note was last updated.

sla_timer_updated
object (v1SlaTimerUpdated)
previous
object (v1SlaTimer)
name
string

The name of the custom SLA timer.

case_id
integer (int32)

The ID of the case to which the custom SLA timer applies.

workspace_id
string

The case workspace ID. Default is the current workspace.

target
string (int64)

The duration, in seconds, from the timer start until expiration.

state
object (case_managementsla_timersv1State)
id
string

The state of the custom SLA timer.

  • STATE_ID_NOT_RUNNING: The custom SLA timer isn't running.
  • STATE_ID_RUNNING: The custom SLA timer is running.
Valid values[ "STATE_ID_NOT_RUNNING", "STATE_ID_RUNNING" ]
Default"STATE_ID_NOT_RUNNING"
value
string

The name of the timer state.

is_lead
boolean

Indicates whether the timer is a lead timer.

created_at
string (date-time)

The timestamp when the custom SLA timer was created.

elapsed_time
string (int64)

The elapsed time of the custom SLA timer.

current
object (v1SlaTimer)
name
string

The name of the custom SLA timer.

case_id
integer (int32)

The ID of the case to which the custom SLA timer applies.

workspace_id
string

The case workspace ID. Default is the current workspace.

target
string (int64)

The duration, in seconds, from the timer start until expiration.

state
object (case_managementsla_timersv1State)
id
string

The state of the custom SLA timer.

  • STATE_ID_NOT_RUNNING: The custom SLA timer isn't running.
  • STATE_ID_RUNNING: The custom SLA timer is running.
Valid values[ "STATE_ID_NOT_RUNNING", "STATE_ID_RUNNING" ]
Default"STATE_ID_NOT_RUNNING"
value
string

The name of the timer state.

is_lead
boolean

Indicates whether the timer is a lead timer.

created_at
string (date-time)

The timestamp when the custom SLA timer was created.

elapsed_time
string (int64)

The elapsed time of the custom SLA timer.

update_mask
string

The fields mask used to update the case.

visibility
object (case_managementtimelinev1Visibility)
id
string
  • VISIBILITY_ID_INTERNAL: The visibility is internal.
  • VISIBILITY_ID_PUBLIC: The visibility is public.
Valid values[ "VISIBILITY_ID_INTERNAL", "VISIBILITY_ID_PUBLIC" ]
Default"VISIBILITY_ID_INTERNAL"
value
string

The visibility value. The value is automatically derived from the visibility ID.

401

Invalid bearer token. If you receive this message more than once try creating a new Client ID/Client Secret or generating a new bearer token.

object
403

You don't have permission to access this resource.

object
default

An unexpected error response.

Expand All
object
code
integer (int32)
message
string
details
Array of object (protobufAny)
object

Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.

Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.

Example 1: Pack and unpack a message in C++.

Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo))

Example 2: Pack and unpack a message in Java.

Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) // or ... if (any.isSameTypeAs(Foo.getDefaultInstance()))

Example 3: Pack and unpack a message in Python.

foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...

Example 4: Pack and unpack a message in Go

foo := &pb.Foo any, err := anypb.New(foo) if err != nil ... foo := &pb.Foo if err := any.UnmarshalTo(foo); err != nil

The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".

JSON

The JSON representation of an Any value uses the regular representation of the deserialized, embedded message, with an additional field @type which contains the type URL. Example:

package google.profile; message Person

{ "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": }

If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field value which holds the custom JSON in addition to the @type field. Example (for message [google.protobuf.Duration][]):

{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }

@type
string

A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in path/google.protobuf.Duration). The name should be in a canonical form (e.g., leading "." is not accepted).

In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme http, https, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows:

  • If no scheme is provided, https is assumed.
  • An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error.
  • Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.)

Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one.

Schemes other than http, https (or the empty scheme) might be used with implementation specific semantics.

property*
object additionalProperties