Skip to main content
PUT
Update an issue
All fields in the request body are optional — only fields you include will be updated. That includes model, so you can name the model on a report you already filed. The same validation applies as on create: at most 64 characters of letters, digits, ., _, :, / or -, and anything else returns 400.

Authorizations

x-api-key
string
header
required

API key for authentication. Must start with dd- prefix.

Headers

x-api-key
string
default:dd-00000000000000000000000065c9cbfe
required

API Key

Path Parameters

id
string
required

Issue ID

Body

application/json

Payload for updating an existing issue. All fields are optional.

generationId
string
generatedText
string
problemWord
string
voicePromptId
string
type
enum<string>

Category of problem being reported. Any value outside the enum returns 400.

Available options:
hallucinations,
glossary
additionalComments
string
problemAudioFile
string

Optional base64-encoded audio clip to attach to the issue

problemSeconds
number
phoneticHeard
string

Optional phonetic transcription of how the word actually sounded

phoneticExpected
string

Optional phonetic transcription of how the word should sound

model
string

Model used for the generation. Up to 64 characters of letters, digits, ., _, :, / or -; any other value returns 400. Recorded as reported and not validated against the list of available models.

Example:

"dd-etts-4.0"

Response

Updated issue

Issue details. generatedText, problemWord and additionalComments are accepted on create and update and kept for triage, but are never returned.

id
string
Example:

"iss_12345abcde"

state
enum<string>

Current state of the issue.

Available options:
open,
uploaded_for_correction,
in_progress,
resolved,
rejected
Example:

"open"

rejectionReason
string

Why the issue was rejected. Present only when state is rejected.

Example:

"duplicate report"

createdAt
string<date-time>
updatedAt
string<date-time>
generationId
string
voicePromptId
string
type
enum<string>

Category of problem being reported.

Available options:
hallucinations,
glossary
locale
string

Locale of the reported generation, when known.

Example:

"en-US"

model
string

Model reported for the generation. Present only when it was supplied on create or update.

Example:

"dd-etts-4.0"

problemSeconds
number
phoneticHeard
string

Phonetic transcription of how the word actually sounded

phoneticExpected
string

Phonetic transcription of how the word should sound