list-tickets
dci list-tickets [flags]
Returns a list of all historical requests that your account has access to. Tickets are returned in reverse chronological order by default.
Flags
--max-results: (integer format:int64 default:100)
--page-token: (string)
--filter: (string)
--min-creation-time: (string)
--max-creation-time: (string)
Output
OK - List of historical requests returned.
By default dci renders the result as a table. Use --output json to get the full structure described below — see Output formats.
| Field | Type | Description |
|---|---|---|
pageToken | string | Page token, returned by a previous call, to request the next page of results. |
rowCount | integer (int64) | Tickets rows count |
tickets | array of object | |
tickets[].createTime | integer (int64) | The time when this ticket was created, in milliseconds since the epoch. |
tickets[].id | integer (int64) | Ticket ID (e.g., "33234"). |
tickets[].is_public | boolean | Whether the ticket is public. |
tickets[].platform | string | Platform of the ticket. One of: "doit", "google_cloud_platform", "amazon_web_services", "microsoft_azure". |
tickets[].product | string | Ticket product. |
tickets[].requester | string | The ticket requester in the form of [email protected] |
tickets[].severity | string | Ticket severity. |
tickets[].status | string | Ticket status. |
tickets[].subject | string | The subject of the ticket. |
tickets[].updateTime | integer (int64) | The time when this ticket was last updated, in milliseconds since the epoch. |
tickets[].urlUI | string | Link to the report in DoiT console. |
tickets[].tags | array of string | Ticket tags, filtered by caller type. DoiT employee (doer) callers receive the full tag set verbatim, including internal namespaces (e.g. tier/*, synapse_*). Customer callers receive only tags under the customer_tag/ namespace, with that prefix stripped. Always present; empty array when the caller has no visible tags. |
Raw JSON schema
{
"type": "object",
"description": "List of support tickets.",
"properties": {
"pageToken": {
"type": "string",
"description": "Page token, returned by a previous call, to request the next page of results."
},
"rowCount": {
"type": "integer",
"description": "Tickets rows count",
"format": "int64"
},
"tickets": {
"type": "array",
"items": {
"type": "object",
"description": "Summary information about a support ticket.",
"properties": {
"createTime": {
"type": "integer",
"description": "The time when this ticket was created, in milliseconds since the epoch.",
"format": "int64"
},
"id": {
"type": "integer",
"description": "Ticket ID (e.g., \"33234\").",
"format": "int64"
},
"is_public": {
"type": "boolean",
"description": "Whether the ticket is public."
},
"platform": {
"type": "string",
"description": "Platform of the ticket.",
"enum": [
"doit",
"google_cloud_platform",
"amazon_web_services",
"microsoft_azure"
]
},
"product": {
"type": "string",
"description": "Ticket product."
},
"requester": {
"type": "string",
},
"severity": {
"type": "string",
"description": "Ticket severity."
},
"status": {
"type": "string",
"description": "Ticket status."
},
"subject": {
"type": "string",
"description": "The subject of the ticket."
},
"updateTime": {
"type": "integer",
"description": "The time when this ticket was last updated, in milliseconds since the epoch.",
"format": "int64"
},
"urlUI": {
"type": "string",
"description": "Link to the report in DoiT console."
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Ticket tags, filtered by caller type. DoiT employee (doer) callers\nreceive the full tag set verbatim, including internal namespaces\n(e.g. `tier/*`, `synapse_*`). Customer callers receive only tags\nunder the `customer_tag/` namespace, with that prefix stripped.\nAlways present; empty array when the caller has no visible tags."
}
}
}
}
}
}
Errors
On failure, dci prints a single error message — with a hint when one is available — and exits with a typed code your scripts can branch on. See Errors and exit codes for the full contract.
| HTTP status | Exit code | Error code | Meaning |
|---|---|---|---|
| 400 | 30 | VALIDATION_ERROR | The arguments or request body were rejected. Review the command's flags and payload. |
| 401 | 10 | AUTHENTICATION_FAILED | Not signed in, or the API token is invalid. Run dci login or check DCI_API_KEY. |
| 403 | 11 | PERMISSION_DENIED | The DoiT user or the active customer context does not have access. |
| 404 | 20 | RESOURCE_NOT_FOUND | The requested resource does not exist. Check the identifier argument. |
| 502, 503 | 40 | API_SERVER_ERROR | The API failed to process the request. Retryable; contact DoiT support if it persists. |
Aliases: id-of-tickets