---
title: "Get Ticket Details"
method: GET
path: "/tickets/details/{ticket_id}"
tags: ["Tickets"]
---

# Get Ticket Details

`GET /tickets/details/{ticket_id}`

## Request

- Base URL: `https://backend.ressl.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://backend.ressl.ai/tickets/details/{ticket_id}`
- Auth: none declared

Get full ticket details including diff/result/execution_output and failure analysis.

Authorization: owner or anyone sharing the same Salesforce org_id.

## Path parameters

- `ticket_id` string, required

## Query parameters

- `organization_id` string, nullable: Organization ID

## Response `200`

Successful Response

- TicketResponse: Response model for ticket details
  - `ticket_id` string, required
  - `query` string, required
  - `plan` string, nullable
  - `execution_plan` string, nullable
  - `diff` string, nullable
  - `result` union
    - string
    - object
  - `status` string, required
  - `type` string, required
  - `source` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `connection_id` string, required
  - `user_id` string, nullable
  - `team_name` string, nullable
  - `error_details` string, nullable
  - `retry_count` integer, nullable
  - `deploy_url` string, nullable
  - `deployment_message` string, nullable
  - `execution_output` string, nullable
  - `failure_analysis` string, nullable
  - `failure_classification` string, nullable
  - `failure_summary` string, nullable
  - `comments` object[], nullable
  - `previous_failures` object[], nullable
  - `git_tags` string[], nullable
  - `revert_details` object, nullable
  - `todos` object[], nullable
  - `total_estimate` number, nullable
  - `deployment_history` object[], nullable
  - `current_view_tag` string, nullable
  - `runbook_id` string, nullable
  - `runbook_name` string, nullable
  - `runbook_content` string, nullable
  - `runbook_ids` string[], nullable
  - `runbooks` object[], nullable
  - `runbook_names` string[], nullable
  - `is_template` boolean, nullable
  - `run_tests` boolean, nullable
  - `ref_ticket` string, nullable
  - `is_translation` boolean, nullable
  - `integration_type` string, nullable
  - `debug_mode` object, nullable
  - `is_answering` boolean, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ressl/apis/ressl-api.md) - [All operations](https://skmtc.dev/ressl/apis/ressl-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ressl/apis/ressl-api/revisions/51e8b599d597?raw)
