Skip to content
bucker

API reference

feedback

3 operations. Shapes are sketches of the declared schemas, bounded in depth — the authoritative document is linked from the index.

GET/orgs/{orgSlug}/projects/{projectSlug}/feedback

Requires bearerAuth

Parameters

Parameters for GET /orgs/{orgSlug}/projects/{projectSlug}/feedback
NameInTypeNotes
orgSlugrequiredpathstringmin length 1
projectSlugrequiredpathstringmin length 1
statusquery"unresolved" | "resolved" | "spam"one of "unresolved" | "resolved" | "spam"
issueIdquerystring
limitqueryintegerdefault 25, min 1, max 100
offsetqueryintegerdefault 0, min 0
allowQuarantinedqueryboolean | "true" | "false"

Response 200

{
  data: {
    id: string
    projectId: string
    eventId: string | null
    issueId: string | null
    message: {
      value: string
      trust: "trusted" | "code" | "untrusted" | "quarantined"
      flagged?: string
    }
    name: {
      value: string
      trust: "trusted" | "code" | "untrusted" | "quarantined"
      flagged?: string
    } | null
    contactEmail: string | null
    url: {
      value: string
      trust: "trusted" | "code" | "untrusted" | "quarantined"
      flagged?: string
    } | null
    environment: string
    source: string
    kind: "FEEDBACK" | "SURVEY_RESPONSE"
    surveyId: string | null
    surveyRevision: integer | null
    completed: boolean | null
    release: {
      value: string
      trust: "trusted" | "code" | "untrusted" | "quarantined"
      flagged?: string
    } | null
    replayId: string | null
    traceId: string | null
    joinKey: {
      value: string
      trust: "trusted" | "code" | "untrusted" | "quarantined"
      flagged?: string
    } | null
    submitterType: "human" | "agent" | "unknown" | null
    language: string | null
    answers: {
      id: string
      reportId: string
      questionId: string
      iteration: integer
      type: string
      numeric: number | null
      choices: string[]
      text: object | null
      answeredAt: string
    }[]
    status: "unresolved" | "resolved" | "spam" | "archived"
    spamScore: number
    spamReasons: string[]
    … 5 more
  }[]
  total: integer
}

Response 400 · `bad_request` — the path, query or body failed validation. `details` carries the Zod issues, one per offending field.

{
  error: {
    code: "bad_request" | "conflict" | "forbidden" | "internal_error" | "mfa_required" | "not_found" | "payload_too_large" | "quota_exceeded" | … 6 more
    message: string
    details?: unknown
    requestId?: string
  }
}

Response 401 · `unauthorized` — no credential, or one that is expired, revoked or not valid for this resource. `mfa_required` when the credential is good but a second factor is owed.

{
  error: {
    code: "bad_request" | "conflict" | "forbidden" | "internal_error" | "mfa_required" | "not_found" | "payload_too_large" | "quota_exceeded" | … 6 more
    message: string
    details?: unknown
    requestId?: string
  }
}

Response 403 · `forbidden` — the credential is valid and its scopes or this principal’s membership do not reach this resource. Scopes are re-intersected with live memberships on every request, so this can appear for a token that worked yesterday.

{
  error: {
    code: "bad_request" | "conflict" | "forbidden" | "internal_error" | "mfa_required" | "not_found" | "payload_too_large" | "quota_exceeded" | … 6 more
    message: string
    details?: unknown
    requestId?: string
  }
}

Response 404 · `not_found` — no such resource, OR one this principal cannot see. The two are deliberately one answer: a 403 would confirm the existence of something whose identifier is guessable.

{
  error: {
    code: "bad_request" | "conflict" | "forbidden" | "internal_error" | "mfa_required" | "not_found" | "payload_too_large" | "quota_exceeded" | … 6 more
    message: string
    details?: unknown
    requestId?: string
  }
}

Response 429 · `rate_limited` or `quota_exceeded` — over a ceiling. `Retry-After` says when to come back, and `x-ratelimit-limit` / `-remaining` / `-reset` describe the bucket.

{
  error: {
    code: "bad_request" | "conflict" | "forbidden" | "internal_error" | "mfa_required" | "not_found" | "payload_too_large" | "quota_exceeded" | … 6 more
    message: string
    details?: unknown
    requestId?: string
  }
}

Response 500 · `internal_error` — an unhandled failure on this side. The message is always generic; `requestId` is the part worth quoting.

{
  error: {
    code: "bad_request" | "conflict" | "forbidden" | "internal_error" | "mfa_required" | "not_found" | "payload_too_large" | "quota_exceeded" | … 6 more
    message: string
    details?: unknown
    requestId?: string
  }
}

Request

curl https://api.bucker.io/orgs/{orgSlug}/projects/{projectSlug}/feedback \
  -H "authorization: Bearer $BUCKER_TOKEN"

GET/orgs/{orgSlug}/projects/{projectSlug}/feedback/{feedbackId}

Requires bearerAuth

Parameters

Parameters for GET /orgs/{orgSlug}/projects/{projectSlug}/feedback/{feedbackId}
NameInTypeNotes
orgSlugrequiredpathstringmin length 1
projectSlugrequiredpathstringmin length 1
feedbackIdrequiredpathstringmin length 1
allowQuarantinedqueryboolean | "true" | "false"

Response 200

{
  id: string
  projectId: string
  eventId: string | null
  issueId: string | null
  message: {
    value: string
    trust: "trusted" | "code" | "untrusted" | "quarantined"
    flagged?: string
  }
  name: {
    value: string
    trust: "trusted" | "code" | "untrusted" | "quarantined"
    flagged?: string
  } | null
  contactEmail: string | null
  url: {
    value: string
    trust: "trusted" | "code" | "untrusted" | "quarantined"
    flagged?: string
  } | null
  environment: string
  source: string
  kind: "FEEDBACK" | "SURVEY_RESPONSE"
  surveyId: string | null
  surveyRevision: integer | null
  completed: boolean | null
  release: {
    value: string
    trust: "trusted" | "code" | "untrusted" | "quarantined"
    flagged?: string
  } | null
  replayId: string | null
  traceId: string | null
  joinKey: {
    value: string
    trust: "trusted" | "code" | "untrusted" | "quarantined"
    flagged?: string
  } | null
  submitterType: "human" | "agent" | "unknown" | null
  language: string | null
  answers: {
    id: string
    reportId: string
    questionId: string
    iteration: integer
    type: string
    numeric: number | null
    choices: string[]
    text: {
      value: string
      trust: "trusted" | "code" | "untrusted" | "quarantined"
      flagged?: string
    } | null
    answeredAt: string
  }[]
  status: "unresolved" | "resolved" | "spam" | "archived"
  spamScore: number
  spamReasons: string[]
  … 4 more
}

Response 400 · `bad_request` — the path, query or body failed validation. `details` carries the Zod issues, one per offending field.

{
  error: {
    code: "bad_request" | "conflict" | "forbidden" | "internal_error" | "mfa_required" | "not_found" | "payload_too_large" | "quota_exceeded" | … 6 more
    message: string
    details?: unknown
    requestId?: string
  }
}

Response 401 · `unauthorized` — no credential, or one that is expired, revoked or not valid for this resource. `mfa_required` when the credential is good but a second factor is owed.

{
  error: {
    code: "bad_request" | "conflict" | "forbidden" | "internal_error" | "mfa_required" | "not_found" | "payload_too_large" | "quota_exceeded" | … 6 more
    message: string
    details?: unknown
    requestId?: string
  }
}

Response 403 · `forbidden` — the credential is valid and its scopes or this principal’s membership do not reach this resource. Scopes are re-intersected with live memberships on every request, so this can appear for a token that worked yesterday.

{
  error: {
    code: "bad_request" | "conflict" | "forbidden" | "internal_error" | "mfa_required" | "not_found" | "payload_too_large" | "quota_exceeded" | … 6 more
    message: string
    details?: unknown
    requestId?: string
  }
}

Response 404 · `not_found` — no such resource, OR one this principal cannot see. The two are deliberately one answer: a 403 would confirm the existence of something whose identifier is guessable.

{
  error: {
    code: "bad_request" | "conflict" | "forbidden" | "internal_error" | "mfa_required" | "not_found" | "payload_too_large" | "quota_exceeded" | … 6 more
    message: string
    details?: unknown
    requestId?: string
  }
}

Response 429 · `rate_limited` or `quota_exceeded` — over a ceiling. `Retry-After` says when to come back, and `x-ratelimit-limit` / `-remaining` / `-reset` describe the bucket.

{
  error: {
    code: "bad_request" | "conflict" | "forbidden" | "internal_error" | "mfa_required" | "not_found" | "payload_too_large" | "quota_exceeded" | … 6 more
    message: string
    details?: unknown
    requestId?: string
  }
}

Response 500 · `internal_error` — an unhandled failure on this side. The message is always generic; `requestId` is the part worth quoting.

{
  error: {
    code: "bad_request" | "conflict" | "forbidden" | "internal_error" | "mfa_required" | "not_found" | "payload_too_large" | "quota_exceeded" | … 6 more
    message: string
    details?: unknown
    requestId?: string
  }
}

Request

curl https://api.bucker.io/orgs/{orgSlug}/projects/{projectSlug}/feedback/{feedbackId} \
  -H "authorization: Bearer $BUCKER_TOKEN"

PATCH/orgs/{orgSlug}/projects/{projectSlug}/feedback/{feedbackId}

Requires bearerAuth

Parameters

Parameters for PATCH /orgs/{orgSlug}/projects/{projectSlug}/feedback/{feedbackId}
NameInTypeNotes
orgSlugrequiredpathstringmin length 1
projectSlugrequiredpathstringmin length 1
feedbackIdrequiredpathstringmin length 1

Request body (required) · application/json

{
  status: "unresolved" | "resolved" | "spam"
}

Response 200

{
  id: string
  projectId: string
  eventId: string | null
  issueId: string | null
  message: {
    value: string
    trust: "trusted" | "code" | "untrusted" | "quarantined"
    flagged?: string
  }
  name: {
    value: string
    trust: "trusted" | "code" | "untrusted" | "quarantined"
    flagged?: string
  } | null
  contactEmail: string | null
  url: {
    value: string
    trust: "trusted" | "code" | "untrusted" | "quarantined"
    flagged?: string
  } | null
  environment: string
  source: string
  kind: "FEEDBACK" | "SURVEY_RESPONSE"
  surveyId: string | null
  surveyRevision: integer | null
  completed: boolean | null
  release: {
    value: string
    trust: "trusted" | "code" | "untrusted" | "quarantined"
    flagged?: string
  } | null
  replayId: string | null
  traceId: string | null
  joinKey: {
    value: string
    trust: "trusted" | "code" | "untrusted" | "quarantined"
    flagged?: string
  } | null
  submitterType: "human" | "agent" | "unknown" | null
  language: string | null
  answers: {
    id: string
    reportId: string
    questionId: string
    iteration: integer
    type: string
    numeric: number | null
    choices: string[]
    text: {
      value: string
      trust: "trusted" | "code" | "untrusted" | "quarantined"
      flagged?: string
    } | null
    answeredAt: string
  }[]
  status: "unresolved" | "resolved" | "spam" | "archived"
  spamScore: number
  spamReasons: string[]
  … 4 more
}

Response 400 · `bad_request` — the path, query or body failed validation. `details` carries the Zod issues, one per offending field.

{
  error: {
    code: "bad_request" | "conflict" | "forbidden" | "internal_error" | "mfa_required" | "not_found" | "payload_too_large" | "quota_exceeded" | … 6 more
    message: string
    details?: unknown
    requestId?: string
  }
}

Response 401 · `unauthorized` — no credential, or one that is expired, revoked or not valid for this resource. `mfa_required` when the credential is good but a second factor is owed.

{
  error: {
    code: "bad_request" | "conflict" | "forbidden" | "internal_error" | "mfa_required" | "not_found" | "payload_too_large" | "quota_exceeded" | … 6 more
    message: string
    details?: unknown
    requestId?: string
  }
}

Response 403 · `forbidden` — the credential is valid and its scopes or this principal’s membership do not reach this resource. Scopes are re-intersected with live memberships on every request, so this can appear for a token that worked yesterday.

{
  error: {
    code: "bad_request" | "conflict" | "forbidden" | "internal_error" | "mfa_required" | "not_found" | "payload_too_large" | "quota_exceeded" | … 6 more
    message: string
    details?: unknown
    requestId?: string
  }
}

Response 404 · `not_found` — no such resource, OR one this principal cannot see. The two are deliberately one answer: a 403 would confirm the existence of something whose identifier is guessable.

{
  error: {
    code: "bad_request" | "conflict" | "forbidden" | "internal_error" | "mfa_required" | "not_found" | "payload_too_large" | "quota_exceeded" | … 6 more
    message: string
    details?: unknown
    requestId?: string
  }
}

Response 429 · `rate_limited` or `quota_exceeded` — over a ceiling. `Retry-After` says when to come back, and `x-ratelimit-limit` / `-remaining` / `-reset` describe the bucket.

{
  error: {
    code: "bad_request" | "conflict" | "forbidden" | "internal_error" | "mfa_required" | "not_found" | "payload_too_large" | "quota_exceeded" | … 6 more
    message: string
    details?: unknown
    requestId?: string
  }
}

Response 500 · `internal_error` — an unhandled failure on this side. The message is always generic; `requestId` is the part worth quoting.

{
  error: {
    code: "bad_request" | "conflict" | "forbidden" | "internal_error" | "mfa_required" | "not_found" | "payload_too_large" | "quota_exceeded" | … 6 more
    message: string
    details?: unknown
    requestId?: string
  }
}

Request

curl -X PATCH https://api.bucker.io/orgs/{orgSlug}/projects/{projectSlug}/feedback/{feedbackId} \
  -H "authorization: Bearer $BUCKER_TOKEN" \
  -H 'content-type: application/json' \
  -d '{ … }'