Skip to main content

core.cases.create_case

Create a new case.

Inputs

string
required
The description of the case.
string
required
The summary of the case.
boolean
If true, create any tags that do not already exist.Default: false.
array[CaseDropdownValueInput] | null
Dropdown selections to set on the case. Each item must include either definition_id or definition_ref, and either option_id or option_ref (or null to clear).Default: null.
object | null
Custom fields for the case.Default: null.
object | null
Payload for the case.Default: null.
string
The priority of the case.Default: "unknown".Allowed values: unknown, low, medium, high, critical, other.
string
The severity of the case.Default: "unknown".Allowed values: unknown, informational, low, medium, high, critical, fatal, other.
string
The status of the case.Default: "unknown".Allowed values: unknown, new, in_progress, on_hold, resolved, closed, other.
array[string] | null
List of tag identifiers (IDs or refs) to add to the case.Default: null.

Examples

Create a case

core.cases.get_case

Get details of a specific case by ID.

Inputs

string
required
The ID of the case to retrieve.

Examples

Get a case

core.cases.update_case

Update an existing case.

Inputs

string
required
The ID of the case to update.
boolean
If true, append the provided description to the existing description when it is not empty.Default: false.
boolean
If true, create any tags that do not already exist.Default: false.
string | null
The updated description of the case.Default: null.
array[CaseDropdownValueInput] | null
Dropdown selections to set or clear. Each item must include either definition_id or definition_ref, and either option_id or option_ref (or null to clear).Default: null.
object | null
Updated custom fields for the case.Default: null.
object | null
Updated payload for the case.Default: null.
string | null
The updated priority of the case.Default: null.
string | null
The updated severity of the case.Default: null.
string | null
The updated status of the case.Default: null.
string | null
The updated summary of the case.Default: null.
array[string] | null
List of tag identifiers (IDs or refs) to set on the case. This will replace all existing tags.Default: null.

Examples

Update case fields

core.cases.list_cases

List all cases.

Inputs

string | null
Pagination cursor used to fetch a specific page when paginate=true.Default: null.
integer
Maximum number of cases to return.Default: 100.
string | null
The field to order the cases by.Default: null.
boolean
If true, return cursor pagination metadata along with items.Default: false.
boolean
Reverse pagination direction when paginate=true.Default: false.
string | null
The direction to order the cases by.Default: null.

Examples

List cases

core.cases.search_cases

Search cases based on various criteria.

Inputs

string | array[string] | null
Filter by assignee ID or ‘unassigned’.Default: null.
string | null
Pagination cursor used to fetch a specific page when paginate=true.Default: null.
array[string] | null
Filter by dropdown values in definition_ref:option_ref format.Default: null.
string | null
Filter cases created before this time.Default: null.
integer
Maximum number of cases to return.Default: 100.
string | null
The field to order the cases by.Default: null.
boolean
If true, return cursor pagination metadata along with items.Default: false.
string | array[string] | null
Filter by case priority.Default: null.
boolean
Reverse pagination direction when paginate=true.Default: false.
string | null
Text to search for in case summary and description.Default: null.
string | array[string] | null
Filter by case severity.Default: null.
string | null
Filter by case short_id.Default: null.
string | null
The direction to order the cases by.Default: null.
string | null
Filter cases created after this time.Default: null.
string | array[string] | null
Filter by case status.Default: null.
array[string] | null
Filter by tag IDs or refs (AND logic).Default: null.
string | null
Filter cases updated after this time.Default: null.
string | null
Filter cases updated before this time.Default: null.

Examples

Search cases

core.cases.list_case_events

List all events for a case in chronological order.

Inputs

string
required
The ID of the case to get events for.

Examples

List case events

core.cases.assign_user

Assign a user to an existing case.

Inputs

string
required
The ID of the user to assign to the case.
string
required
The ID of the case to assign a user to.

Examples

Assign a user by ID

core.cases.assign_user_by_email

Assign a user to an existing case by email.

Inputs

string
required
The email of the user to assign to the case.
string
required
The ID of the case to assign a user to.

Examples

Assign a user by email

core.cases.add_case_tag

Add a tag to a case by tag ID or ref.

Inputs

string
required
The ID of the case to add a tag to.
string
required
The tag identifier (ID or ref) to add to the case.
boolean
If true, create the tag if it does not exist.Default: false.

Examples

Add a case tag

core.cases.remove_case_tag

Remove a tag from a case by tag ID or ref.

Inputs

string
required
The ID of the case to remove a tag from.
string
required
The tag identifier (ID or ref) to remove from the case.

Examples

Remove a case tag

core.cases.delete_case

Delete a case.

Inputs

string
required
The ID of the case to delete.

Examples

Delete a case

core.cases.create_comment

Add a comment to an existing case.

Inputs

string
required
The ID of the case to comment on.
string
required
The comment content.
string | null
The ID of the parent comment if this is a reply.Default: null.
string | null
The ID of the workflow to run when the comment is created.Default: null.

Examples

Create a comment

core.cases.reply_to_comment

Reply to a top-level case comment.

Inputs

string
required
The ID of the case containing the parent comment.
string
required
The reply content.
string
required
The ID of the top-level comment to reply to.

Examples

Reply to a comment

core.cases.update_comment

Update an existing case comment.

Inputs

string
required
The ID of the comment to update.
string
required
The updated comment content.

Examples

Update a comment

core.cases.list_comments

List all comments for a case.

Inputs

string
required
The ID of the case to get comments for.

Examples

List comments

core.cases.list_comment_threads

List comment threads for a case.

Inputs

string
required
The ID of the case to get comment threads for.

Examples

List comment threads

core.cases.get_comment_thread

Get the full thread for a comment ID.

Inputs

string
required
The ID of a comment within the thread.

Examples

Get a comment thread

core.cases.upload_attachment

Upload a file attachment to a case.

Inputs

string
required
The ID of the case to attach the file to.
string
required
The file content encoded in base64.
string
required
The MIME type of the file (e.g., ‘application/pdf’).
string
required
The original filename.

Examples

Upload an attachment

core.cases.upload_attachment_from_url

Upload a file attachment to a case from a URL.

Inputs

string
required
The ID of the case to attach the file to.
string
required
The URL of the file to upload.
string | null
Filename of the file to upload. If not provided, the filename will be inferred from the URL.Default: null.
map[string, string] | null
The headers to use when downloading the file.Default: null.

Examples

Upload an attachment from a URL

core.cases.list_attachments

List all attachments for a case.

Inputs

string
required
The ID of the case to list attachments for.

Examples

List attachments

core.cases.get_attachment

Get attachment metadata without downloading the content.

Inputs

string
required
The ID of the attachment to get.
string
required
The ID of the case containing the attachment.

Examples

Get attachment metadata

core.cases.get_attachment_download_url

Get a presigned S3 URL for downloading an attachment.

Inputs

string
required
The ID of the attachment.
string
required
The ID of the case containing the attachment.
integer | null
URL expiry time in seconds. If not provided, uses the default from configuration.Default: null.

Examples

Get an attachment download URL

core.cases.download_attachment

Download an attachment’s content.

Inputs

string
required
The ID of the attachment to download.
string
required
The ID of the case containing the attachment.

Examples

Download an attachment

core.cases.delete_attachment

Delete an attachment from a case.

Inputs

string
required
The ID of the attachment to delete.
string
required
The ID of the case containing the attachment.

Examples

Delete an attachment

core.cases.create_task

Create a new task for a case. Enterprise Edition

Inputs

string
required
The ID of the case to create a task for.
string
required
The title of the task.
string | null
The ID of the user to assign the task to.Default: null.
object | null
The default trigger values for the task.Default: null.
string | null
The description of the task.Default: null.
string
The priority of the task (unknown, low, medium, high, critical).Default: "unknown".
string
The status of the task (todo, in_progress, blocked, completed).Default: "todo".
string | null
The ID of the workflow associated with this task.Default: null.

Examples

Create a task

core.cases.get_task

Get a specific case task by ID. Enterprise Edition

Inputs

string
required
The ID of the task to retrieve.

Examples

Get a task

core.cases.list_tasks

List all tasks for a case. Enterprise Edition

Inputs

string
required
The ID of the case to list tasks for.

Examples

List tasks

core.cases.update_task

Update an existing case task. Enterprise Edition

Inputs

string
required
The ID of the task to update.
string | null
The ID of the user to assign the task to.Default: null.
object | null
The default trigger values for the task.Default: null.
string | null
The updated description of the task.Default: null.
string | null
The updated priority of the task (unknown, low, medium, high, critical).Default: null.
string | null
The updated status of the task (todo, in_progress, blocked, completed).Default: null.
string | null
The updated title of the task.Default: null.
string | null
The ID of the workflow associated with this task.Default: null.

Examples

Update a task

core.cases.delete_task

Delete a case task. Enterprise Edition

Inputs

string
required
The ID of the task to delete.

Examples

Delete a task
Link an existing table row to a case. Enterprise Edition

Inputs

string
required
Case ID
string
required
Row ID
string
required
Table ID

Examples

Link a table row
Remove a linked table row from a case. Enterprise Edition

Inputs

string
required
Case ID
string
required
Row ID
string
required
Table ID

Examples

Unlink a table row

core.cases.insert_row

Insert a row into a table and link it to a case. Enterprise Edition
Linked rows use regular tables. Create the destination table with the same columns schema documented in Tables.

Inputs

string
required
Case ID
object
required
Row values
string
required
Table ID

Examples

Insert and link a table row

core.cases.get_case_metrics

Get case metrics as OTEL-aligned time-series for the provided case IDs. Enterprise Edition

Inputs

array[string]
required
List of case IDs to get case metrics for.

Examples

Read case metrics